Filtering invalid transactions in collaboration
Extending on our contentError
feature, which reports when content is invalid to the editor, we’ve added this functionality to collaboration. This isolates any client whose changes conflict with the document’s structure. This keeps the document stable for all users, creating a smooth, reliable collaboration experience.
Improved handling of non-text elements
Misaligned elements disrupt the flow of a document, like a stair that’s an inch too high. In Tiptap v2.9, we've improved the NodePos attribute handling and position calculations for non-text elements, bringing greater stability and precision to complex document layouts.
A more accessible Tiptap
We’re committed to making Tiptap accessible to everyone. With a new default role=”textbox”, screen readers and keyboard-only navigation now work smoothly with Tiptap, creating a more inclusive experience for users on assistive technology.
Quality-of-life improvements
Sometimes, it’s the little things that make a big difference:
- Dependency management:
@tiptap/extension-text-style
has been added as a dependency of @tiptap/starter-kit
to resolve peer dependency issues, making installation easier. - Text marking: The
getMarkRange
function now correctly identifies text boundaries even when the cursor is at the start of a mark. - Parsing: Commands like
insertContentAt
, setContent
, and insertContent
now follow editor defined parseOptions
, making content handling more easy-to-use by default.
Tiptap v2.9 brings smoother workflows, a steadier collaboration experience, and a more inclusive approach to content creation. We’re excited to see how this release supports your work. You can view the full changelog on GitHub.
Thank you for your continued feedback and support!
Happy coding,
the Tiptap team