Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Provide a way to leave code marks (when there’s no content after them) #90

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hanspagel
Copy link
Contributor

@hanspagel hanspagel commented Jan 12, 2021

Related issues:

  1. Unable to break out of code mark tiptap#514
  2. Inline code escaping [shift+enter] doesn't work tiptap#660

The original issue suggests Shift+Enter (what I used for the failing test), I’m not sure this is intuitive enough though. It would probably be more intuitive to leave the code mark with arrow keys, even if there’s no content after them.

If you think that’s a better solution, you can alter the test to look like this:

.type('`Example`{leftarrow}{rightarrow}{rightarrow}Text')

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants