Next.js Discord

Discord Forum

Inserting spans correctly with `Tiptap` editor

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
I need help with creating extension in tiptap editor for inserting spans containing pre-formatted text.
I've created one, but after inserting the span, everything typed after it still goes inside the span, how do I fix it?

2 Replies

Polar bearOP
full code