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

Autolink behaves incorrectly when modifying a link at the end of the element #7588

Closed
pomek opened this issue Jul 9, 2020 · 3 comments
Closed
Labels
package:link package:typing resolution:expired This issue was closed due to lack of feedback. status:stale type:bug This issue reports a buggy (incorrect) behavior.

Comments

@pomek
Copy link
Member

pomek commented Jul 9, 2020

📝 Provide detailed reproduction steps (if any)

  1. https://ckeditor.com/ckeditor-5/demo/
  2. editors[ 0 ].setData( '<h2>This is <a href="http://ckeditor.com/">CKEditor5</a> from <a href="http://cksource.com/">CKSource</a>.</h2>' )
  3. Put selection at the end of the second link:
    image
    Selection should be after e.
  4. Type .

✔️ Expected result

The selection stays at the end of the link. The dot should be at the end of link.

image

Selection should be the first dot (.).

❌ Actual result

The dot is being added at the end of the element and its (all) attributes are copied from the link node.

image

📃 Other details

  • Browser: Chrome (83.0.4103.116)
  • OS: Win 10
  • CKEditor version: master / 20.0.0

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@Reinmar
Copy link
Member

Reinmar commented Aug 3, 2020

Now, the typed dot is not linked but the caret jumps to the wrong place (after the last dot, not the first one). I'm quite sure that it'll be fixed with #7462.

@Reinmar Reinmar added this to the backlog milestone Aug 3, 2020
@pomek pomek removed this from the backlog milestone Feb 21, 2022
@CKEditorBot
Copy link
Collaborator

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

@CKEditorBot
Copy link
Collaborator

We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

@CKEditorBot CKEditorBot added the resolution:expired This issue was closed due to lack of feedback. label Nov 13, 2023
@CKEditorBot CKEditorBot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:link package:typing resolution:expired This issue was closed due to lack of feedback. status:stale type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

3 participants