Skip to content

Commit

Permalink
fix: #491 insert component
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Sep 5, 2020
1 parent c00a815 commit 0b166cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1260,8 +1260,8 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re
return null;
}

this.getRange_addLine(this.getRange());
const r = this.removeNode();
this.getRange_addLine(this.getRange());
let oNode = null;
let selectionNode = this.getSelectionNode();
let formatEl = util.getFormatElement(selectionNode, null);
Expand Down

0 comments on commit 0b166cb

Please sign in to comment.