Skip to content

Commit d0d4790

Browse files
committed
Wrap images with br
1 parent e346911 commit d0d4790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@
13511351
zss_editor.restorerange();
13521352
var imageContainer = $('<div><img></div>');
13531353
imageContainer.find('img').attr(attributes);
1354-
zss_editor.insertHTML(imageContainer.html() + '<br>');
1354+
zss_editor.insertHTML('<br>' + imageContainer.html() + '<br>');
13551355
zss_editor.enabledEditingItems();
13561356
}
13571357

0 commit comments

Comments
 (0)