@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.