Migrated editor inputs to non-angular JS

This commit is contained in:
Dan Brown
2017-09-23 12:24:06 +01:00
parent 0c4ddf16a5
commit 9e2934fe17
7 changed files with 516 additions and 550 deletions

View 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;