Skip to content

Commit 5ef0868

Browse files
authored
Merge pull request #35 from dmstr/feature/post-build-plugin
Resolve the issue where plugins fail to initialize when they are not …
2 parents b21b2f6 + 4fafe26 commit 5ef0868

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/assets/editors/ckeditor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ class CKEditorEditor extends StringEditor {
107107

108108
postBuild () {
109109
super.postBuild();
110+
if (this.container) {
111+
this.initCKEditor()
112+
}
110113
this.theme.afterInputReady(this.input);
111114
}
112115

src/assets/editors/filefly.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ class FileflyEditor extends StringEditor {
9999

100100
postBuild () {
101101
super.postBuild();
102+
this.initSelectize();
102103
this.theme.afterInputReady(this.input);
103104
}
104105

0 commit comments

Comments
 (0)