Skip to content

Insert span correctly #6063

Jan 28, 2025 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

@AnsBdran please don't mention people directly - Philipp is not maintaining Tiptap anymore and probably doesn't appreciate random mentions in his inbox.

The problem is propably that the span is inclusive.

https://tiptap.dev/docs/editor/core-concepts/schema#inclusive

One solution would be to insert a white space after your span (so the editor can place the cursor outside of the span) or extend the extension handling your span's and setting the inclusive prop to false.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@AnsBdran
Comment options

@bdbch
Comment options

Answer selected by bdbch
@AnsBdran
Comment options

@AnsBdran
Comment options

@AnsBdran
Comment options

@AnsBdran
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants