Opened 7 years ago
Last modified 7 years ago
#17013 new Bug
CKEditor on blur event doesnt get fired consistently the first time editor is created
Reported by: | zoarif | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.7.0 |
Keywords: | Cc: |
Description
Steps to reproduce
- Add one editor on the page and edit some text.
- Add another editor on the same page(do not click on this editor) and click on the first editor.
- Two toolbars show up.
The reason is that on blur event doesn't get fired consistently when you create a new editor and do not click on it. Instead click on other editors on page. Two toolbars appear. The reason is there is some race condition going on the way ckeditor is calling on blur events. Similar bug mentioned here: http://ckeditor.com/forums/CKEditor/Registered-blur-event-doesnt-fire-the-first-time-it-seems-that-it-should-see-details
Expected result
On blur event handler should be called when focus moves away first time in the editor
Actual result
On blur event handler is inconsistent
Other details (browser, OS, CKEditor version, installed plugins)
Happens in all browsers
It sometimes happen in other scenarios as well. Not only just the first time but consistently the first time.