Opened 9 years ago
Closed 8 years ago
#14826 closed Bug (worksforme)
[Edge] Cannot focus widget programmatically at the first try.
Reported by: | kkrzton | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description (last modified by )
The parent task is #14819.
Steps to reproduce
- Go to http://ckeditor.com/demo#widgets.
- Run
var editor = CKEDITOR.instances.editor2;editor.widgets.getByElement( editor.editable().findOne( 'pre' ) ).focus();
from the console without focusing the editor.
Expected result
The first code snippet widget in the second editor should be focused.
Actual result
The focus/caret is placed on the beginning of the second editor content.
When code is run for the second time or if the editor was focused earlier everything works as expected.
Other details (browser, OS, CKEditor version, installed plugins)
Edge (Edge 38.14393, EdgeHTML 14.14393)
This issue causes some unit tests fails in tests/plugins/image2/acf and probably in tests/plugins/image2/justify and tests/plugins/widget/widgetselection.
Change History (5)
comment:1 Changed 9 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 9 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 8 years ago by
Status: | confirmed → pending |
---|
comment:4 Changed 8 years ago by
I have tried with 2 editors in Microsoft Edge 38.14393.0.0 (Microsoft EdgeHTML 14.14393) but it has worked as expected. The first widget in second editor was focused.
comment:5 Changed 8 years ago by
Resolution: | → worksforme |
---|---|
Status: | pending → closed |
Looks like it was fixed by some Edge update.
The up to date scenario is:
However, I am not able to reproduce this issue (same version of Edge (Edge 38.14393, EdgeHTML 14.14393)). Can I ask someone to also recheck the issue. If it is not reproducible we may close it.