Skip to content

Commit 3e97f61

Browse files
author
antoniopol06
committed
Merges configuration before replacing the dragresize plugins to make sure our choice prevails
Fixes #716
1 parent ae74c91 commit 3e97f61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/react/src/adapter/alloy-editor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@
4343

4444
editor.config.selectionKeystrokes = this.get('selectionKeystrokes');
4545

46+
AlloyEditor.Lang.mix(editor.config, config);
47+
4648
if (CKEDITOR.env.ie) {
4749
editor.config.extraPlugins = editor.config.extraPlugins.replace('ae_dragresize', 'ae_dragresize_ie');
4850
editor.config.removePlugins = editor.config.removePlugins.replace('ae_dragresize', 'ae_dragresize_ie');
4951
}
5052

51-
AlloyEditor.Lang.mix(editor.config, config);
52-
5353
editor.once('contentDom', function() {
5454

5555
this._addReadOnlyLinkClickListener(editor);

0 commit comments

Comments
 (0)