We are testing your editor v. 3.6.4 in our ASP .NET application. We noticed that after setting editor to read only (with setReadOnly function or inside apsx markup) and clicking inside editor, the following JS exception is being thrown, if there is no content:
JavaScript runtime error: Unable to get property 'ownerDocument' of undefined or null reference
As far as we can tell this happens on IE9 and IE10.
This can easily be reproduced in your ASP .NET samples on FirstUse.aspx by substituting editor declaration with
<CKEditor:CKEditorControl ID="CKEditor1" runat="server" Height="200" ReadOnly="true" BasePath="~/ckeditor" />
Is there a solution or workaround for this problem?
Thanks in advance.
Could you please file a bug
Could you please file a bug report on our Development site? This will let our QA investigate the issue. Thanks!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
But before you post a ticket,
But before you post a ticket, please upgrade the old 3.6.4 CKEditor version to 4.1 first and check if issue still occurs.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Filed a bug #10309
Filed a bug #10309. Issue is present even after upgrading to version 4.1 (I substituted ckeditor folder).
simple kluge
Looks like initializing the read only editor with any amount of text neutralizes the bug.
simple kluge, above, applied to v 4.2.1
Didn't try it on earlier versions