Opened 11 years ago

Last modified 8 years ago

#11701 confirmed Bug

Richcombo seems to break on html entities in values — at Initial Version

Reported by: spuymore Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:

Description

  • configure an editor with latest strinsert addon from https://github.com/57u/custom-dropdown-ckeditor4/commit/32bb75a5fc5129722ddd32637e8639be2735cbb5 (http://ckeditor.com/addon/strinsert is not up to date) using following settings:
    config.extraPlugins = 'strinsert';
    config.strinsert_strings = [{'name': 'test', 'value': 'html entities like <, &gt and & wont work'}];
    
  • open the editor, select 'test' from the 'Insert' dropdown in the toolbar and you'll get a JavaScript error like:
    • Chrome:
      Uncaught TypeError: Cannot call method 'hasClass' of null ckeditor.js:746
      Uncaught TypeError: Cannot call method 'hasClass' of null ckeditor.js:746
      CKEDITOR.ui.listBlock.CKEDITOR.tools.createClass.proto.isMarked ckeditor.js:746
      CKEDITOR.ui.listBlock.CKEDITOR.tools.createClass.proto.toggle ckeditor.js:744
      (anonymous function) ckeditor.js:742
      (anonymous function) ckeditor.js:27
      CKEDITOR.tools.callFunction ckeditor.js:27
      onclick
      
    • IE:
      Error: Unable to get property 'hasClass' of undefined or null reference
      

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy