Opened 12 years ago
Closed 12 years ago
#9825 closed Bug (invalid)
Including 'Codemirror Syntax Highlighting'-Plugin breaks ckeditor
Reported by: | wnm | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
I went to http://ckeditor.com/builder and selected the standard preset, added a couple of plugins and downloaded the files. When i tried to run 'samples/replacebyclass.html', ckeditor didn't show up and in google chrome i got the following error message:
"Uncaught TypeError: Cannot read property 'toolbar' of undefined"
in firefox i got:
"TypeError: a.lang.sourcearea is undefined".
Downloading the preset without adding plugins, ckedit worked, so i figured there must be a problem with one of the plugins. After some try and error (and lots of downloading), I think i got the problem: Whenever I add the plugin 'Codemirror Syntax Highlighting' in the mix, the error occurs. Without it it works fine.
Code mirror plugin is an external plugin, not maintained by CKSource.
Please report this issue to the author of plugin. Here is code mirror's issue tracker - https://github.com/w8tcha/CKEditor-CodeMirror-Plugin/issues. You can find more links in the left sidebar on http://ckeditor.com/addon/codemirror.