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

Incorrectly wrapped content when pasting into editor with enter div mode #4572

Open
jacekbogdanski opened this issue Mar 15, 2021 · 0 comments
Labels
plugin:enterkey The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@jacekbogdanski
Copy link
Member

Type of report

Bug

Provide detailed reproduction steps (if any)

This is a follow-up issue to #2751.

When working on #4301 we find out that the issue described in #2751 still exists if a selection is done by mouse, not ctrl + a keyboard shortcut.

  1. Open tests/core/editable/manual/enterdiv manual test.
  2. Reproduce test steps, but select all editor content using mouse, not keyboard.

Also, see #4356 (comment) for more information on the issue.

Expected result

Test passes.

Actual result

div wrapping element is duplicated in some test cases

Other details

  • Browser: all
  • CKEditor version: 4.16.1
  • Installed CKEditor plugins: enterkey
@jacekbogdanski jacekbogdanski added type:bug A bug. status:confirmed An issue confirmed by the development team. plugin:enterkey The plugin which probably causes the issue. labels Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin:enterkey 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