Ticket #3810 (closed Bug: fixed)
IE: Template throws error
| Reported by: | fredck | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.0 |
| Component: | General | Version: | SVN (CKEditor) - OLD |
| Keywords: | Confirmed IE Review? WorksForMe | Cc: |
Description
With IE, a js error is thrown when using the Template button, after selecting one of the templates.
Attachments
Change History
comment:1 Changed 4 years ago by garry.yao
- Owner set to garry.yao
- Status changed from new to assigned
comment:2 Changed 4 years ago by garry.yao
- Keywords Review? added
Again, coz CKEDITOR.editor::setData is sync, unlock selection ( invoked in dialog.hide ) for IE will result in error, the only event we can relay on now is contentDom, so I make the changes to template plugin.
Then, I found the editor is still not gaining focus within the event handler, and that's because contentDom is fired too early to gain document focus.( Focus is locked by 'isLoadingData')Ok, so let's make the event happened later, result in such a ugly fix.
Note: See
TracTickets for help on using
tickets.

Problem comes from 'CKEDITOR.editor::setData'.