To reproduce this bug:
I am using CKEditor version 3.6.1, and CKFinder version 2.1. Browser is Firefox 8.0.
I am using CKFinder for Java. I don't know if this problem is Java only or applies to all languages.
- Use a CKEditor that's integrated with CKFinder, such as the _samples/ckeditor.html packaged with CKFinder.
- Click Source and enter a HTML comment within a HTML tag. Example:
<div><!-- A comment --></div>
A plain HTML comment outside of a tag will not cause this problem. - Click Source again to return to the WYSIWYG editor.
- Click the image button to get the Image Properties overlay. At this point, Firebug reported this Javascript error: "t.getLength is not a function". The error was in ckeditor.js.
- Click "Browse Server" to get the CKFinder popup. Choose an image as usual to return to the image upload overlay.
- Click "OK". The Image Properties overlay did not close, and Firebug reported this Javascript error: "u.getChild is not a function", also in ckeditor.js.
I am using CKEditor version 3.6.1, and CKFinder version 2.1. Browser is Firefox 8.0.
I am using CKFinder for Java. I don't know if this problem is Java only or applies to all languages.
Re: Bug? HTML comments cause Javascript error with CKEditor
Hi,
this bug is reported to CKEditor's developers http://dev.ckeditor.com/ticket/8569.