Skip to content

Commit ccb1298

Browse files
authored
[Bug]: Fix Editor disappears when editing html for a translation due split ui_mode (#14)
1 parent cf5dccd commit ccb1298

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

public/js/editor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ pimcore.bundle.tinymce.editor = Class.create({
3030
} else {
3131
this.maxChars = -1;
3232
}
33-
e.detail.config = Object.assign({}, {ui_mode: 'combined'}, e.detail.config);
34-
} else {
33+
} else if (e.detail.context === 'document') {
3534
e.detail.config = Object.assign({}, {ui_mode: 'split'}, e.detail.config);
3635
}
3736

0 commit comments

Comments
 (0)