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

Only getting empty mark range if forced for link on unsetMark #1650

Closed
wants to merge 1 commit into from

Conversation

isubasti
Copy link

Toggling mark around an empty selection makes sense for things like links. But it kinda has an unexpected behaviour for formatting marks like bold, strikethrough and others of the same kind. This PR adds a way to differentiate between the two types of marks

@isubasti isubasti changed the title Only getting empty mark range if forced for link Only getting empty mark range if forced for link on unsetMark Jul 29, 2021
@hanspagel
Copy link
Contributor

Thanks! What’s that mentioned unexpected behaviour?

@philippkuehn
Copy link
Contributor

@isubasti Thanks for that PR. I’m closing this in favor of #1859 (I’ve renamed and moved some things).

@isubasti isubasti deleted the feature/toggle-link-mark branch September 8, 2021 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants