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

feature(core): add exit handling for marks #2925

Merged
merged 4 commits into from Aug 22, 2022
Merged

Conversation

bdbch
Copy link
Contributor

@bdbch bdbch commented Jun 24, 2022

This PR adds exit handling for marks by registering a keybind and adds an option to Mark.create.

When a Mark is set to exitable: true, the Mark will always add empty text behind itself when it's at the end of a node.

2022_06_24-17_41_19-chrome.mp4

This for example allows users to exit code marks.

@netlify
Copy link

netlify bot commented Jun 24, 2022

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit 1f73460
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/63037b071aa9160008a29b1c
😎 Deploy Preview https://deploy-preview-2925--tiptap-embed.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@bdbch bdbch self-assigned this Jun 24, 2022
@bdbch bdbch mentioned this pull request Jun 25, 2022
@github-actions github-actions bot added the Info: Stale The issue or pullrequest has not been updated in a while and might be stale label Aug 9, 2022
@github-actions github-actions bot closed this Aug 16, 2022
@svenadlung svenadlung reopened this Aug 16, 2022
@github-actions github-actions bot removed the Info: Stale The issue or pullrequest has not been updated in a while and might be stale label Aug 17, 2022
@bdbch bdbch merged commit 5fed0f2 into main Aug 22, 2022
@bdbch bdbch deleted the feature/exit-handling branch August 22, 2022 13:23
@nholden nholden mentioned this pull request Mar 3, 2023
2 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.

None yet

2 participants