Opened 14 years ago
Closed 14 years ago
#6178 closed Bug (fixed)
Creating and inserting a new element fails in Webkit if editor not focused
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | Tobiasz Cudnik |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.4.1 |
Component: | General | Version: | 3.4 Beta |
Keywords: | Webkit IBM | Cc: | satya_minnekanti@… |
Description
Running this code generates an error in Webkit (Safari & Chrome) at the line 1170 of the selection plugin if the editor still hasn't been focused:
var oDiv = oEditor.document.createElement( 'DIV' ) ; oDiv.setAttribute("class", "wrapper"); oDiv.$.innerHTML = "new div"; oEditor.insertElement( oDiv );
Attachments (2)
Change History (10)
Changed 14 years ago by
Attachment: | testCreateDiv.html added |
---|
comment:1 Changed 14 years ago by
Keywords: | Webkit added; WebKit removed |
---|---|
Milestone: | → CKEditor 3.5 |
Status: | new → confirmed |
comment:3 Changed 14 years ago by
Cc: | satya_minnekanti@… added |
---|
comment:6 Changed 14 years ago by
Owner: | set to Tobiasz Cudnik |
---|---|
Status: | confirmed → review |
This is fixed version of 6192.patch dedicated for TC of this ticket.
Changed 14 years ago by
Attachment: | 6178.patch added |
---|
comment:7 Changed 14 years ago by
Milestone: | CKEditor 3.5 → CKEditor 3.4.1 |
---|---|
Status: | review → review_failed |
This one is being fixed at #6192.
comment:8 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | review_failed → closed |
test case