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 throws an error during copy when selection starts in text an ends in widget #3498

Closed
msamsel opened this issue Sep 25, 2019 · 1 comment · Fixed by #3553
Closed

Editor throws an error during copy when selection starts in text an ends in widget #3498

msamsel opened this issue Sep 25, 2019 · 1 comment · Fixed by #3553
Assignees
Labels
plugin:widget The plugin which probably causes the issue. regression This issue is a regression. status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@msamsel
Copy link
Contributor

msamsel commented Sep 25, 2019

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Open console
  2. Open test: /tests/plugins/widget/manual/block
  3. set content as paragraf and image:
<p>foo</p>

<figure class="image"><img alt="Lena Söderberg" src="/tests/_assets/lena.jpg" width="150" />
<figcaption>Image of <a href="http://en.
			wikipedia.org/wiki/Lena_S%C3%B6derberg">Lena Söderberg</a> used in<br />
many image processing experiments.</figcaption>
</figure>
  1. Make selection which starts in paragraph and ends on image (but before caption)
  2. Press CTRL/CMD+C

Expected result

no error in the console

Actual result

error in the console

Other details

Screenshot 2019-09-25 at 14 29 10

  • Browser: Chrome
  • OS: MacOS
  • CKEditor version: 4.13.0
  • Installed CKEditor plugins: …
@msamsel msamsel added type:bug A bug. status:confirmed An issue confirmed by the development team. regression This issue is a regression. plugin:widget The plugin which probably causes the issue. labels Sep 25, 2019
@f1ames f1ames added this to the Next milestone Sep 25, 2019
@f1ames f1ames added the target:minor Any docs related issue that can be merged into a master or major branch. label Sep 26, 2019
@msamsel msamsel self-assigned this Oct 3, 2019
@msamsel
Copy link
Contributor Author

msamsel commented Oct 8, 2019

Related to: #3551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin:widget The plugin which probably causes the issue. regression This issue is a regression. status:confirmed An issue confirmed by the development team. type:bug A bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants