mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-26 00:30:02 +08:00
Migrated editor inputs to non-angular JS
This commit is contained in:
11
resources/assets/js/components/wysiwyg-editor.js
Normal file
11
resources/assets/js/components/wysiwyg-editor.js
Normal file
@ -0,0 +1,11 @@
|
||||
class WysiwygEditor {
|
||||
|
||||
constructor(elem) {
|
||||
this.elem = elem;
|
||||
this.options = require("../pages/page-form");
|
||||
tinymce.init(this.options);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = WysiwygEditor;
|
Reference in New Issue
Block a user