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

Browser tab freezes after cutting content in specific way #787

Closed
Mgsy opened this issue Jan 25, 2018 · 5 comments
Closed

Browser tab freezes after cutting content in specific way #787

Mgsy opened this issue Jan 25, 2018 · 5 comments
Labels
type:bug This issue reports a buggy (incorrect) behavior.
Milestone

Comments

@Mgsy
Copy link
Member

Mgsy commented Jan 25, 2018

🐞 Is this a bug report or feature request? (choose one)

  • Bug report

💻 Version of CKEditor

Latest master

📋 Steps to reproduce

  1. Go to http://localhost:8125/ckeditor5-core/tests/manual/article.html.
  2. Put the caret at the end of the Paragraph.
  3. Open link balloon and press Save.
  4. Start the selection at UL List item 1 and move it to Paragraph[].
  5. Press Ctrl + X.

✅ Expected result

Content has been cut.

❎ Actual result

Browser tab freezes.

📃 Other details that might be useful

GIF
bug_cke5

Other information
OS: All platforms
Browser: All browsers

@Mgsy Mgsy added the type:bug This issue reports a buggy (incorrect) behavior. label Jan 25, 2018
@Reinmar
Copy link
Member

Reinmar commented Jan 25, 2018

Confirmed. It's weird that it requires saving the link there (which does, or should do, nothing).

@scofalik
Copy link
Contributor

This is very weird. Saving link does not do nothing, it sets link on a selection so you can "write link" later. But, after you change selection (which is a step to reproduce the bug), the link is gone and selection attribute is gone too.

@scofalik
Copy link
Contributor

Looks like an empty text node with linkHref attribute is created.

@scofalik
Copy link
Contributor

@Reinmar
Copy link
Member

Reinmar commented Mar 30, 2018

It's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

3 participants