|
|
@ -87,6 +87,7 @@ export default () => { |
|
|
if (!hasWin()) return this; |
|
|
if (!hasWin()) return this; |
|
|
toolbar = document.createElement('div'); |
|
|
toolbar = document.createElement('div'); |
|
|
toolbar.className = `${ppfx}rte-toolbar ${ppfx}one-bg`; |
|
|
toolbar.className = `${ppfx}rte-toolbar ${ppfx}one-bg`; |
|
|
|
|
|
this.initRte(document.createElement('div')); |
|
|
|
|
|
|
|
|
//Avoid closing on toolbar clicking
|
|
|
//Avoid closing on toolbar clicking
|
|
|
on(toolbar, 'mousedown', e => e.stopPropagation()); |
|
|
on(toolbar, 'mousedown', e => e.stopPropagation()); |
|
|
|