Opened 4 years ago

Last modified 4 years ago

#13710 closed Bug

Js error when removing plugins from FULL version CKEditor — at Version 2

Reported by: GLK Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 4.5.3
Keywords: Cc:

Description (last modified by Jakub Ś)

Steps to reproduce

  1. Standard includes to start everything off just fine.
  2. 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'
      });
    });   
    
  3. 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 (2)

comment:1 Changed 4 years ago by GLK

Sorry, forgot version info:
Tested CKEditor versions 4.5.1 and 4.5.3
Firefox 40.0.3
Chrome 44.0.2403.157 m

comment:2 Changed 4 years ago by Jakub Ś

Description: modified (diff)
Keywords: Initialize config.removePlugins removed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy