Opened 9 years ago

Closed 9 years ago

#7133 closed Bug (duplicate)

The Special Characters language support causes errors loading plugins from 3.5 onwards

Reported by: Teresa Monahan Owned by:
Priority: Normal Milestone:
Component: General Version: 3.5
Keywords: IBM Cc: Damian, Satya Minnekanti, James Cunningham

Description

The new support for translating the Special Characters plugin in CKEditor 3.5 causes errors when the editor is loading plugins. An example of this can be seen in the ui_languages sample in CKEditor 3.5, 3.5.1 and the nightly builds.

Steps to reproduce:

  1. Open the ui_languages.html sample.
  2. Open the Special Characters dialog.
  3. Close the dialog by either inserting a character or clicking Cancel.
  4. Change the language selected in the dropdown menu so that the editor is reloaded in a different language.

The following error occurs:

f.indexOf is not a function http://nightly.ckeditor.com/6405/ckeditor.js Line 9

The error occurs during the CKEDITOR.plugins.load() call in editor.js. This function calls CKEDITOR.tools.indexOf( pluginLangs, editor.langCode ) to try to set the language for the editor. However pluginLangs is a map, rather than an array and the indexOf call fails.

This is a high priority issue and we need to be able to patch it in CKEditor 3.5 and 3.5.1

Change History (1)

comment:1 Changed 9 years ago by Sa'ar Zac Elias

Resolution: duplicate
Status: newclosed

Dup of #7088.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy