Browse Source

Wrap images with br

ihork 8 years ago
parent
commit
d0d4790b1f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/editor.html

+ 1
- 1
src/editor.html View File

@@ -1351,7 +1351,7 @@
1351 1351
 				zss_editor.restorerange();
1352 1352
 				var imageContainer = $('<div><img></div>');
1353 1353
 				imageContainer.find('img').attr(attributes);
1354
-				zss_editor.insertHTML(imageContainer.html() + '<br>');
1354
+				zss_editor.insertHTML('<br>' + imageContainer.html() + '<br>');
1355 1355
 				zss_editor.enabledEditingItems();
1356 1356
 			}
1357 1357