diff --git a/src/rich_text_editor/index.js b/src/rich_text_editor/index.js index 47c3e4611..4af3e4860 100644 --- a/src/rich_text_editor/index.js +++ b/src/rich_text_editor/index.js @@ -87,6 +87,7 @@ export default () => { if (!hasWin()) return this; toolbar = document.createElement('div'); toolbar.className = `${ppfx}rte-toolbar ${ppfx}one-bg`; + this.initRte(document.createElement('div')); //Avoid closing on toolbar clicking on(toolbar, 'mousedown', e => e.stopPropagation());