You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: It's not about the link. Other attributes like bold, etc. are also retained.
The text was updated successfully, but these errors were encountered:
oleq
changed the title
Selection should not retain attributes after parent block removal by external change
Selection should not retain attributes after parent block removal by an external change
Feb 1, 2018
This makes sense for attribute define "manually". If I click the bold button I don't want to lose this attribute because of external change (which may even not touch my selection). It should, apparently, behave differently for attributes which are set based on the surrounding text. We already distinguish these types of attributes using the attribute priority.
BTW: attributes priorities should be better described, now it's hard to learn what some parts of the code do.
Expected:
The selection should not retain previous (
linkHref
) attribute. The whole editing context has changed and most likely users will not expect that.Actual:
Still writing in the same link despite that it's parent
paragraph
has been removed from the model.Spotted in ckeditor/ckeditor5-link#165.
Note: It's not about the link. Other attributes like bold, etc. are also retained.
The text was updated successfully, but these errors were encountered: