Skip to content

Conversation

@backportbot-nextcloud
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Dec 1, 2021

backport of #1964

The most important change is that a mark is added only if you are at
the beginning of a block or there is a space before it.

This especially fixes accidently formatting parts of a string as italic
when it contains two underscores (often true in URLs or emoji names).

This change can be reverted when we migrated to tiptap v2, but it's
a low hanging fix for an annoying bug, and the tiptap v2 migration might
take a bit longer.

See Philipp Kuehns comment at https://discuss.prosemirror.net/t/4230/3.

Signed-off-by: Jonas Meurer <[email protected]>
@mejo- mejo- force-pushed the backport/1964/stable23 branch from c3a7e6b to 1547c34 Compare December 2, 2021 11:41
@mejo- mejo- merged commit b8f9711 into stable23 Dec 2, 2021
@delete-merged-branch delete-merged-branch bot deleted the backport/1964/stable23 branch December 2, 2021 13:22
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2022
6 tasks
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.

2 participants