File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 77
77
*/
78
78
CKEDITOR . config . templates_files = [
79
79
CKEDITOR . getUrl ( 'plugins/templates/templates/default.js' )
80
- ] ;
80
+ ] ;
81
81
82
82
/**
83
83
* Whether the "Replace actual contents" checkbox is checked by default in the
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ CKEDITOR.addTemplates( 'default', {
16
16
image : 'template1.gif' ,
17
17
description : 'One main image with a title and text that surround the image.' ,
18
18
html : '<h3>' +
19
- '<img style="margin-right: 10px" height="100" width="100" align="left"/>' +
19
+ // Use src=" " so image is not filtered out by the editor as incorrect (src is required).
20
+ '<img src=" " alt="" style="margin-right: 10px" height="100" width="100" align="left" />' +
20
21
'Type the title here' +
21
22
'</h3>' +
22
23
'<p>' +
You can’t perform that action at this time.
0 commit comments