-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Image selection: Uncaught TypeError: Cannot read property 'checkReadOnly' of undefined #2517
Comments
On Firefox a different exception is thrown: |
…l Area #474 -Local fix until ckeditor/ckeditor4#2517 is solved
There is an issue with selection. Chrome:startContainer: div.cke_widget_wrapper.cke_widget_block.cke_widget_image,
startOffset: 2 Focusing editor in this case removes selection ranges. FirefoxstartContainer: span.cke_image_resizer_wrapper,
startOffset: 1 In this case widget is not inserted because |
See #2866 (review). There are other closely related issues #3007 and #3008 caused by buggy selection. Currently #2866 contains fix for selection on widget If one end of range is in widget, and it's not at the start of it selection should be moved out of a widget. |
There is another steps to reproduce this issue: Steps
ExpectedImage is inserted into editor. Actual
Note: such selection is created when I try to select whole editor content in IE11 with mouse. Edit: Actually it's different bug caused by |
Type of report
Bug
Provide detailed reproduction steps (if any)
Expected result
New image inserted in place of selected text and image
Actual result
Nothing happens, error in dev console:
Other details
Reproduced even on https://ckeditor.com/ckeditor-4/
Other details
The text was updated successfully, but these errors were encountered: