Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't focus widget in read-only editor #1575

Open
Comandeer opened this issue Feb 2, 2018 · 1 comment
Open

Can't focus widget in read-only editor #1575

Comandeer opened this issue Feb 2, 2018 · 1 comment
Labels
browser:ie The issue can only be reproduced in the Internet Explorer browser. plugin:widget The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@Comandeer
Copy link
Member

Comandeer commented Feb 2, 2018

Are you reporting a feature request or a bug?

Bug

Provide detailed reproduction steps (if any)

  1. Open https://sdk.ckeditor.com/samples/captionedimage.html
  2. Open console.
  3. Paste into console:
    CKEDITOR.instances.editor1.setReadOnly( true );
    CKEDITOR.instances.editor1.widgets.instances[ 0 ].focus();

Expected result

Widget is focused.

Actual result

Error is thrown:

"Could not complete the operation due to error 800a025e."

In IE9+ "Unspecified error" is thrown instead.

Other details

It seems that the offending fragment is deep inside selection.selectRanges method.

  • Browser: Internet Explorer
  • Installed CKEditor plugins: widget
@Comandeer Comandeer added type:bug A bug. status:confirmed An issue confirmed by the development team. browser:ie8 The issue can only be reproduced in the Internet Explorer 8 browser. browser:ie The issue can only be reproduced in the Internet Explorer browser. and removed browser:ie8 The issue can only be reproduced in the Internet Explorer 8 browser. labels Feb 2, 2018
@Comandeer
Copy link
Member Author

Tests for #1516 and #1570 are ignored in IEs due to this bug. Please enable them during fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser:ie The issue can only be reproduced in the Internet Explorer browser. plugin:widget The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

2 participants