v3.31.4
- The mathematics extension no longer crashes the editor in older WebKit browsers and WKWebView.
- 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.
- Fix Markdown serialization of inline code containing backticks
- Bind
parseMarkdownandrenderMarkdownto the configured extension so hooks can readthis.optionsandthis.namewithout an Editor.
- Fix Markdown serialization of inline code containing backticks
- 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.
- Parsing large Markdown documents that contain ordered lists is much faster. A 578KB document went from about 19s to about 160ms.
- Prevent extra CSS declarations from being rendered from editor content.
- Prevent extra CSS declarations from being rendered from editor content.
- Prevent extra CSS declarations from being rendered from editor content.
- Prevent extra CSS declarations from being rendered from editor content.
- 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.
- 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.
- 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.
- Undoing an input rule restores the Markdown characters that triggered it when using Collaboration.
- React and Vue now use matching menu extension versions when installed from a specific release.
- React and Vue now use matching menu extension versions when installed from a specific release.
v3.31.3
- Fixed a bug which allowed potentially unsafe color values being sent by other clients. Those unsafe colors received from collaboration users are now ignored.
- Fix a TypeScript error (TS2694) in the shipped type declarations when
skipLibCheckis turned off.
v3.30.6
- Nested lists exported to Markdown now keep their hierarchy when the file is read back by other Markdown tools.
- Nested lists exported to Markdown now keep their hierarchy when the file is read back by other Markdown tools.
- Pasting a YouTube iframe without a
srcattribute no longer crashes the editor. The embed is kept without a source.
- Fix Markdown serialization of whitespace-only marked text.
- Reduce overhead in React node views on documents with many nodes.
v3.30.3
- Unsetting one text style inside a blockquote no longer removes the other text styles in it.
- YouTube live URLs (
/live/<id>) now embed the video.
- Fix JSX runtime to properly render nested sibling elements by spreading children arrays into DOMOutputSpec
- Fix ReactNodeViewRenderer crash when contentComponent is not available
- Add the
AiInsertRevealextension (@tiptap/ai-toolkit/streaming-reveal) to fade in text as the AI streams it into a collaborative document.