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

Error thrown when inserting block widget in a buggy position #542

Open
mlewand opened this issue Jun 21, 2017 · 0 comments
Open

Error thrown when inserting block widget in a buggy position #542

mlewand opened this issue Jun 21, 2017 · 0 comments
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

@mlewand
Copy link
Contributor

mlewand commented Jun 21, 2017

Are you reporting a feature or a bug?

Bug

Provide detailed reproduction steps (if any)

  1. Open widget/manual/block manual test.

  2. Put the selection buggy selection after the widget, this requires some clever clicking, see image below:
    Caret positioning

    You need to click somewhere in the margin of the paragraph (2) to put the caret in buggy position (1).

  3. Click "doublecolumn" button (the empty one after code snippet button).

Expected result

The widget gets inserted after the image.

Actual result

An exception is being thown:

SCRIPT5007: Unable to get property 'type' of undefined or null reference
ckeditor.js (160,190)

Other details

Note it doesn't have necessairly be a double column widget. Image with caption will cause the same result.

  • Browser: IE11, IE9
  • OS: Windows 10
  • CKEditor version: 4.7.1

This error does not occur on Edge.

@mlewand mlewand added 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. labels Jun 21, 2017
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

1 participant