-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update mark input/paste rules to tiptap v2 regular expressions
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]>
- Loading branch information
Showing
11 changed files
with
62 additions
and
15 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters