Opened 10 years ago
Last modified 10 years ago
#13710 closed Bug
Js error when removing plugins from FULL version CKEditor — at Version 3
Reported by: | GLK | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Toolbar | Version: | 4.5.3 |
Keywords: | Cc: |
Description (last modified by )
Steps to reproduce
- Standard includes to start everything off just fine.
- Trying to remove some plugins for a simpler look.
$(function() { var ckinstance = CKEDITOR.instances['message']; delete CKEDITOR.ckinstance; CKEDITOR.replace( 'message', { customConfig: '/js/ckeditor_email_config.js' }); });
- Followed with the email_config.js
CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: config.removePlugins = 'image,language,gg,flash,base64image,pastbase64'; config.scayt_autoStartup = true; };
Expected result
FULL toolbar minus some things I don't want users to see... This list is subtantially longer in reality, but error occurs with just these!
Actual result
TypeError: a is undefined
...CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEdit...
ckeditor.js (line 322, col 76)
Other details (browser, OS, CKEditor version, installed plugins)
Change History (3)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Keywords: | Initialize config.removePlugins removed |
comment:3 Changed 10 years ago by
Description: | modified (diff) |
---|
Sorry, forgot version info:
Tested CKEditor versions 4.5.1 and 4.5.3
Firefox 40.0.3
Chrome 44.0.2403.157 m