Skip to content

Commit

Permalink
#2325 ckeditor의 custom config 사용 시 배포본의 removePlugins 설정을 덮는 문제로 #2207
Browse files Browse the repository at this point in the history
…이슈에서 수정한 문제를 재발시키는 문제 수정
  • Loading branch information
bnu committed Oct 29, 2018
1 parent f8908ba commit 73cfb93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions modules/editor/tpl/js/editor.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@
instance.config.extraPlugins = extraPlugins.join(',');
}

if(CKEDITOR.env.iOS) {
var removePlugins = e.editor.config.removePlugins.split(',');
removePlugins.push('enterkey');
removePlugins = arrayUnique(removePlugins);
instance.config.removePlugins = removePlugins.join(',');
}

if(!opts.enableToolbar) instance.config.toolbar = [];
});

Expand Down
2 changes: 1 addition & 1 deletion modules/editor/tpl/js/editor.app.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 73cfb93

Please sign in to comment.