Opened 11 years ago

Closed 11 years ago

#10309 closed Bug (duplicate)

JS exception on read-only editor when there is no text

Reported by: Nejc Owned by:
Priority: Normal Milestone:
Component: Core : Read-only Version: 3.6.3
Keywords: IE Cc:

Description

If I set read-only property in aspx page and editor does not contain anything, when I click inside editor, following exception happens: Unable to get value of the property 'ownerDocument': object is null or undefined.

Bug can be easily reproduced with _Samples/FirstUse.aspx if we change editor control definition to:

<CKEditor:CKEditorControl ID="CKEditor1" ReadOnly="true" runat="server" Height="200" BasePath="~/ckeditor" />

Using CKEditor for ASP.Net 3.6.4.

Change History (4)

comment:1 Changed 11 years ago by Nejc

Forgot to mention I'm using IE9.

comment:2 Changed 11 years ago by Nejc

After upgrading to version 4.1 issue is still present. Tested on IE9 and IE10.

comment:3 Changed 11 years ago by Jakub Ś

Status: newconfirmed
Version: 3.6.43.6.3

I can confirm this is happening in IE8-10 (IE7 works fine). Problem can be reproduced from CKE 3.6.3 rev. [7374] in plain CKEditor as well (ASP.NET is not required to reproduce).

JS error:
Message: SCRIPT5007: Unable to get value of the property 'ownerDocument': object is null or undefined.
Line: 370
URI: /ckeditor/core/selection.js

comment:4 Changed 11 years ago by Jakub Ś

Keywords: IE added
Resolution: duplicate
Status: confirmedclosed

This is in fact DUP of #9780

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