Autolink behaves incorrectly when modifying a link at the end of the element #7588
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.
📝 Provide detailed reproduction steps (if any)
editors[ 0 ].setData( '<h2>This is <a href="http://ckeditor.com/">CKEditor5</a> from <a href="http://cksource.com/">CKSource</a>.</h2>' )
Selection should be after
e
..
✔️ Expected result
The selection stays at the end of the link. The dot should be at the end of link.
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.
📃 Other details
master
/20.0.0
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: