@tiptap/extension-mathematics
Patch Changes
- The mathematics extension no longer crashes the editor in older WebKit browsers and WKWebView.
@tiptap/core
Patch Changes
- Fix a
TypeErrorthrown when the source editor is destroyed right after dragging content into another editor. splitBlockno longer throwsTransformError: Inserted content deeper than insertion positionwhen the selection spans block boundaries (for example from the start of one paragraph into another block, or across an isolating node). The command now returnsfalsewhen the split is not possible.- Prevent extra CSS declarations from being rendered from editor content.
- Atom block directives (
:::name {…} :::) indented by up to 3 spaces are now tokenized, matching CommonMark indentation rules for block constructs. - Numeric HTML entities (
',') are now decoded when parsing markdown, instead of showing up as literal text in the editor. - The editor element keeps
role="textbox"aftersetOptions()wheneditorProps.attributesis set. Before, a re-render in React replaced the default role with the user attributes. Attributes passed as a function now get the default role as well. - Undoing an input rule restores the Markdown characters that triggered it when using Collaboration.
- Bind
parseMarkdownandrenderMarkdownto the configured extension so hooks can readthis.optionsandthis.namewithout an Editor. - Pressing Enter before the text of a checked task item now leaves the new empty item unchecked and the item with the text checked. Attributes declared with
keepOnSplit: falsenow reset on the new item, not on the one that keeps the text. - Stop joinItemForward and joinItemBackward from joining across isolating nodes.
- Node views without a
contentDOMno longer ignore selection mutations, so ProseMirror moves the caret back to a valid position when the browser places it inside the node view.
@tiptap/markdown
Patch Changes
- Fix Markdown serialization of inline code containing backticks
- Bind
parseMarkdownandrenderMarkdownto the configured extension so hooks can readthis.optionsandthis.namewithout an Editor.
@tiptap/extension-code
Patch Changes
- Fix Markdown serialization of inline code containing backticks
@tiptap/extension-table
Patch Changes
- Table cells exported to Markdown now escape literal pipe characters, so the cell content survives when the output is read back.
- Multi-block table cells no longer leak a U+001F control character into Markdown.
- Right-clicking a cell inside a multi-cell table selection no longer collapses that selection.
- Prevent extra CSS declarations from being rendered from editor content.
- Table cells and headers no longer render the default
colspan="1"androwspan="1"attributes. Cells that actually span still render them, matching how prosemirror-tables serializes spans.
@tiptap/extension-list
Patch Changes
- Parsing large Markdown documents that contain ordered lists is much faster. A 578KB document went from about 19s to about 160ms.
@tiptap/extension-collaboration-caret
Patch Changes
- Prevent extra CSS declarations from being rendered from editor content.
@tiptap/extension-highlight
Patch Changes
- Prevent extra CSS declarations from being rendered from editor content.
@tiptap/extension-text-align
Patch Changes
- Prevent extra CSS declarations from being rendered from editor content.
@tiptap/extension-text-style
Patch Changes
- Prevent extra CSS declarations from being rendered from editor content.
@tiptap/extension-link
Patch Changes
- Typing spaces after a link no longer extends the link, including multiple spaces inserted in one transaction. Formatting changes and undo/redo preserve existing linked whitespace.
@tiptap/react
Patch Changes
- Fix Enter and Shift-Enter inside React node views on iOS and Android.
- React and Vue now use matching menu extension versions when installed from a specific release.
@tiptap/static-renderer
Patch Changes
- Render
<audio>and<video>with a closing tag instead of self-closing them, so browsers no longer nest the following content inside the first audio element. - Rendering a node whose
renderHTMLreturns several nested child elements no longer adds stray commas between them in the HTML string output.
@tiptap/extension-collaboration
Patch Changes
- Undoing an input rule restores the Markdown characters that triggered it when using Collaboration.
@tiptap/vue-2
Patch Changes
- React and Vue now use matching menu extension versions when installed from a specific release.
@tiptap/vue-3
Patch Changes
- React and Vue now use matching menu extension versions when installed from a specific release.