Ticket #3703 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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) (diff)

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

sample_for_reproducing.html (2.1 KB) - added by garry.yao 5 years ago.
Sample page for testing
3703.patch (864 bytes) - added by garry.yao 5 years ago.

Change History

comment:1 Changed 5 years ago by garry.yao

  • Description modified (diff)

Sorry, the reproducing should be someway else.

Changed 5 years ago by garry.yao

Sample page for testing

Changed 5 years ago by garry.yao

comment:2 Changed 5 years ago by garry.yao

  • Keywords Review? added
  • Status changed from new to assigned

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 5 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:4 Changed 5 years ago by garry.yao

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed with [3677].

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