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

Editor insertion methods may leave empty spans for selection over multiple block elements #3177

Open
f1ames opened this issue Jun 18, 2019 · 0 comments
Labels
core The issue is caused by the editor core code. status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@f1ames
Copy link
Contributor

f1ames commented Jun 18, 2019

Type of report

Bug

Provide detailed reproduction steps (if any)

Related to #2813 and extracted from #2987 (review).

  1. Go to https://codepen.io/f1ames/pen/agZQjW.
  2. Fully select more than one red-bordered element.
  3. Use one of the Insert ... button under editor (apart from Insert text).

Expected result

Text div is inserted, no empty red-bordered elements left.

Actual result

Text div is inserted, one/two empty red-bordered elements left.

May be somehow related to #3175 (or some of its subcases).

Other details

  • Browser: All
  • OS: All
  • CKEditor version: 4.5+ (4.5 is the oldest one I have checked)
  • Installed CKEditor plugins: any
@f1ames f1ames added type:bug A bug. status:confirmed An issue confirmed by the development team. target:minor Any docs related issue that can be merged into a master or major branch. core The issue is caused by the editor core code. labels Jun 18, 2019
@f1ames f1ames removed the target:minor Any docs related issue that can be merged into a master or major branch. label Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core The issue is caused by the editor core code. status:confirmed An issue confirmed by the development team. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

1 participant