Opened 12 years ago
Closed 12 years ago
#10237 closed Bug (invalid)
editor.resize error
Reported by: | tboeker | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0.2 |
Keywords: | editor resize | Cc: |
Description
Using ckeditor 4.0.2
var oEditor = CKEDITOR.replace('editor1', {
disableNativeSpellChecker: false, removePlugins: 'elementspath', resize_enabled: false
}); oEditor.resize(500, 200, true);
Generates error message: e is undefined
You cannot resize editor before it is initialize. But you can pass height and width in editor's config:
But if you really need the "isContentHeight" arg to be equal to true, then wait on instanceReady event.