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