Opened 8 years ago

Closed 8 years ago

#3703 closed Bug (fixed)

editor.insertHtml cause error

Reported by: Garry Yao Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: IE Confirmed Review+ Cc:

Description (last modified by Garry Yao)

Reproducing Procedures

  1. Open the attached example page in IE8;
    • Expected Result: The 'text' is inserted into beginning of document.
    • Actual Result: JavaScript error is thrown.
      "'isLocked' is null or not an object"
      

Attachments (2)

sample_for_reproducing.html (2.1 KB) - added by Garry Yao 8 years ago.
Sample page for testing
3703.patch (864 bytes) - added by Garry Yao 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Garry Yao

Description: modified (diff)

Sorry, the reproducing should be someway else.

Changed 8 years ago by Garry Yao

Attachment: sample_for_reproducing.html added

Sample page for testing

Changed 8 years ago by Garry Yao

Attachment: 3703.patch added

comment:2 Changed 8 years ago by Garry Yao

Keywords: Review? added
Status: newassigned

The problem here is 'instanceReady' is fired based on 'mode' event, at this time, certain processing logic is not finished yet, so the editor is not in a Consistency state.

comment:3 Changed 8 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:4 Changed 8 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [3677].

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