Skip to content

Commit

Permalink
wwHeadingManager enhanced for no-iframe resolved #473
Browse files Browse the repository at this point in the history
  • Loading branch information
shiren authored and seonim-ryu committed Jan 6, 2020
1 parent 264ed11 commit d27e8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/editor/src/js/wwHeadingManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ WwHeadingManager.prototype._onEnter = function(event, range) {
*/
WwHeadingManager.prototype._insertEmptyBlockToPrevious = function(range) {
this.wwe.getEditor().recordUndoState(range);
$('<div><br></div>').insertBefore(domUtils.getParentUntil(range.startContainer, this.$editorContainerEl[0]));
$('<div><br></div>').insertBefore(domUtils.getParentUntil(range.startContainer, this.wwe.$editorContainerEl[0]));
};

/**
Expand Down

0 comments on commit d27e8f8

Please sign in to comment.