commit ad8ce20e0b52cf945476024a9fcdbb4d36ce3b28
parent 9b986a3152ed624e7fc0bbed7728278b02b48b4d
Author: unitehenry <unitehenry@gmail.com>
Date: Wed, 14 Oct 2020 15:09:14 -0400
init editor option
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/striveneditor.js b/src/striveneditor.js
@@ -342,7 +342,7 @@ export default class StrivenEditor {
se.tableMenu && se.editor.appendChild(se.tableMenu);
se.metaDataSection && se.editor.appendChild(se.metaDataSection);
se.filesSection && se.editor.appendChild(se.filesSection);
-
+
// Reposition Toolbar
if (se.options.toolbarBottom) {
se.toolbar.classList.add('se-toolbar-bottom');
@@ -360,6 +360,8 @@ export default class StrivenEditor {
se.editor.removeChild(se.toolbar);
se.editor.append(se.toolbar);
}
+
+ se.options.init && se.options.init(se);
}
/**