Releases: ueberdosis/tiptap
Releases · ueberdosis/tiptap
v3.11.0
Releases
v3.11.0
@tiptap/core
Minor Changes
- Add native text direction support for RTL and bidirectional content. The editor now includes a
textDirectionoption that can be set to'ltr','rtl', or'auto'to control the direction of all content globally. Additionally, newsetTextDirectionandunsetTextDirectioncommands allow for granular control of text direction on specific nodes. This enables proper rendering of right-to-left languages like Arabic and Hebrew, as well as bidirectional text mixing multiple languages.
v3.10.8
@tiptap/core
Patch Changes
- Fixed a bug that caused extra characters to be inserted after a parsed, nestable content block by accounting for leading newlines
- Add documentation comments to Tiptap JSON types
- allow
undefinedas a value for thedefaultattribute key - Fix
updateAttributesandresetAttributescommands to return accurate results when used with.can(). Previously, these commands would always returntrueeven when they couldn't perform the operation. Now they correctly returnfalsewhen no matching nodes or marks are found in the selection.
@tiptap/extension-text-align
Patch Changes
- Fix
setTextAlignandunsetTextAligncommands to work correctly with.can()checks. Changed logic from.every()to.some()to returntruewhen at least one configured node type matches, rather than requiring all types to match.
@tiptap/static-renderer
Patch Changes
- Fix static HTML renderer incorrectly generating self-closing tags for HTML elements that require proper closing tags (iframe, script, style, etc.).
@tiptap/markdown
Patch Changes
- Fixed CommonJS compatibility by downgrading
markeddependency from v16 to v15.
v3.10.7
v3.10.6
v3.10.5
Releases
v3.10.5
@tiptap/extension-collaboration
Patch Changes
- Fixed collaborative editing errors with certain emoji combinations (like 🔴🟢, 😎🐈, 🟣🔵) by updating
@tiptap/y-tiptapto stable v3.0.0.
@tiptap/extension-collaboration-caret
Patch Changes
- Fixed collaborative editing errors with certain emoji combinations (like 🔴🟢, 😎🐈, 🟣🔵) by updating
@tiptap/y-tiptapto stable v3.0.0.
@tiptap/extension-drag-handle
Patch Changes
- Fixed collaborative editing errors with certain emoji combinations (like 🔴🟢, 😎🐈, 🟣🔵) by updating
@tiptap/y-tiptapto stable v3.0.0.
@tiptap/core
Patch Changes
- Fixed ProseMirror schema generation to properly respect
isRequiredattribute configuration. Previously, attributes marked withisRequired: truewere incorrectly treated as optional because adefaultproperty was always included in the schema specification. ProseMirror determines attribute requirements by the absence of thedefaultproperty, so now thedefaultis only included when the attribute is not required and a default value is explicitly defined.
@tiptap/extension-unique-id
Patch Changes
- Fixed infinite transaction loop that caused browser tabs to freeze when using UniqueID and TrailingNode extensions together.
@tiptap/extensions
Patch Changes
- Fixed infinite transaction loop that caused browser tabs to freeze when using UniqueID and TrailingNode extensions together.
v3.10.4
v3.10.3
Releases
v3.10.3
@tiptap/markdown
Patch Changes
- Fix markdown serialization to prevent marks from continuing after hard breaks. Previously, marks like bold would incorrectly persist across hard breaks in the markdown output.
- Fixed a bug where marks were resolved in incorrect orders, breaking markdown rendering for nested marks.
- Fix parsing of mixed bullet lists and task lists. Previously, Marked.js would group consecutive bullet list items and task list items into a single list token, causing incorrect parsing. Now the parser detects mixed lists and splits them into separate bulletList and taskList nodes.
v3.10.2
Releases
v3.10.2
@tiptap/markdown
Patch Changes
- Fix parsing of mixed inline HTML within Markdown content so that inline HTML fragments are parsed correctly.
@tiptap/extension-table
Patch Changes
- Allow setting custom table widths by respecting user-provided
styleattributes instead of always overriding them with calculated widths.
v3.10.1
v3.10.0
Releases
v3.10.0
@tiptap/core
Minor Changes
-
Add a new ResizableNodeview NodeView to core that wraps elements (images, videos, iframes) with configurable resize handles. It provides live onResize/onCommit callbacks, min/max constraints, aspect-ratio support, and styling hooks (class names + data attributes) to improve UX when resizing media inside the editor.
-
the addNodeView function can now return
nullto dynamically disable rendering of a node viewWhile this should not directly cause any issues, it's noteworthy as it still could affect some behavior in some edge cases.
@tiptap/extension-image
Minor Changes
- Added a new
resizeoption that allows images to be resized. The option adds resize handlers to images allowing users to manually resize images via drag and drop or touch