ueberdosis/tiptap
 Watch   
 Star   
 Fork   
4 days ago
tiptap

v3.35.0

@tiptap/core

Patch Changes

  • nodeInputRule with a capture group no longer inserts the last typed character twice when the rule runs on text input.

@tiptap/extension-details

Minor Changes

  • Added the openWithoutDelay option. With it, a Details created open shows its content as soon as it is drawn, instead of one tick later, so code that measures right after drawing reads the full height. It is off by default and only has an effect together with persist.

@tiptap/y-tiptap

Patch Changes

  • Preserve deleted elements' original attributes and text when comparing collaboration snapshots.
  • Make typing in large collaborative documents faster by skipping unchanged content that comes before the edit.
11 days ago
tiptap

v3.34.0

@tiptap/ai-toolkit

Minor Changes

  • getEditorContext now describes the charts and diagrams of @tiptap-pro/extension-diagrams, so the AI can read, add and change them.

@tiptap/core

Patch Changes

  • Fix Backspace undo after automatic formatting when used with extensions such as UniqueID.
  • Correct setContent documentation

@tiptap/extension-blockquote

Patch Changes

  • Keep the caret at the join when Backspace merges a paragraph into the blockquote above it.

@tiptap/extension-details

Patch Changes

  • A Details node created open now stays open when its content changes right after it is created.

@tiptap/extension-drag-handle-react

Patch Changes

  • Declare @types/react as an optional peer dependency so React types resolve under pnpm's global virtual store.

@tiptap/extension-find-and-replace

Minor Changes

  • Added a continuesNode option. Textblocks it marks as continuing the textblock before them are searched as one text, so a phrase that runs from one into the next is found, highlighted and replaced.

@tiptap/static-renderer

Patch Changes

  • Fix React type resolution when using pnpm’s global virtual store.
14 days ago
tiptap

v3.33.1

@tiptap/core

Patch Changes

  • Deleting a text selection that spans the whole document no longer leaves the deleted text's marks active, so text typed into the emptied editor is no longer bold, linked or otherwise marked.

@tiptap/extension-find-and-replace

Patch Changes

  • The first goToNextResult() or goToPreviousResult() after a new search now selects the highlighted first result instead of skipping it.

@tiptap/y-tiptap

Minor Changes

  • yCursorPlugin now publishes a lastSelection awareness field with each collaborative field's latest selection and whether its editor is focused. Unlike cursor, it stays after the editor loses focus, so other clients can still read the selection. lastSelection is now reserved and can't be used as the cursor field.
19 days ago
tiptap

v3.33.0

@tiptap/extension-collaboration

Minor Changes

  • With enableContentCheck: true, shared content that does not fit the editor schema now emits contentError instead of being deleted. The editor pauses editing and sends no changes until compatible content arrives, so read-only users no longer send repairs that the server rejects.

    If you use enableContentCheck with collaboration and want the editor to keep repairing invalid content, turn the content check off.

@tiptap/y-tiptap

Minor Changes

  • Add the onInvalidContent sync option. When it is set, shared content that does not fit the editor schema stays in the shared document instead of being deleted. The editor shows what it can, pauses editing and sends no changes until compatible content arrives.
19 days ago
tiptap

v3.32.3

@tiptap/core

Patch Changes

  • Clearing formatting on a nested list now turns every level into paragraphs, and clearNodes() works in a chain with other node commands.
  • Stop removed resizable node views from responding to later editor updates.

@tiptap/extension-bubble-menu

Patch Changes

  • Bubble menus now update correctly after IME input, including Korean text

@tiptap/extension-code-block-lowlight

Patch Changes

  • Fixed a performance issue where code highlighting updates were unnecessarily triggered by selection-only changes

@tiptap/extension-floating-menu

Patch Changes

  • Floating menus now update correctly after IME input, including Korean text

@tiptap/extension-link

Patch Changes

  • Pasting a link without a protocol now uses the defaultProtocol option instead of always falling back to http.

@tiptap/extensions

Patch Changes

  • The Placeholder extension no longer leaves placeholders behind on empty nodes after the cursor moves away when includeChildren is enabled.

@tiptap/react

Patch Changes

  • Fix a React warning when a command like setContent creates React node views from inside an effect.
  • Fixed the cursor no longer following clicks after an editor inside a shadow root was unmounted and remounted.

@tiptap/vue-2

Patch Changes

  • Fixed the cursor no longer following clicks after an editor inside a shadow root was unmounted and remounted.

@tiptap/vue-3

Patch Changes

  • Fixed the cursor no longer following clicks after an editor inside a shadow root was unmounted and remounted.

@tiptap/y-tiptap

Minor Changes

  • Remove persistent position migrations to stop structural edits and undo or redo from adding migration history to collaborative documents. Saved relative positions no longer follow content that structural edits replace or move.

    Existing migration entries are deleted when an editor opens and when later Yjs updates arrive. Yjs can reclaim their stored data when garbage collection is enabled. Document content and other shared data are unchanged. Upgrade all collaborating clients to stop older clients from writing new entries.

    Documents that the server refuses to load need cleanup on the server before a client can repair them. With Yjs garbage collection disabled, deleting entries does not reclaim their stored data.

2026-10-13 20:02:17
tiptap

v3.32.0

@tiptap/markdown

Patch Changes

  • A literal ! directly before a link is now escaped when serializing to Markdown, so the link is no longer parsed back as an image.

@tiptap/pm

Patch Changes

  • Update ProseMirror dependencies to their latest versions.

@tiptap/react

Patch Changes

  • Fix useEditorState overflowing the stack when a selector returns a value with circular references, such as editor.state after one stored mark replaces another.

@tiptap/core

Minor Changes

  • Add the schemaSpec editor option to use an external ProseMirror schema structure with local extension behavior.

Patch Changes

  • Fix list toggling between list types that use different item nodes. Nested lists are recursively converted when the target item schema supports nesting, and flattened into sibling items when it does not.

@tiptap/y-tiptap

Patch Changes

  • Keep relative text and node positions attached through structural edits, node moves, and undo or redo across collaborating clients.

  • Improve TypeScript definitions for document synchronization, shared cursors, undo, redo, and document conversions.

  • Improve collaboration performance and keep comments, highlights, caret positions, and remote caret details intact during remote edits.

  • Preserve shared content when a client cannot display its nodes or marks, and pause that client's editing until compatible content is available.

    Headless document creation rejects empty content when the schema requires child nodes.

@tiptap/extension-collaboration

Patch Changes

  • Keep collaborative editing, cursor presence, and drag handles compatible with the updated @tiptap/y-tiptap binding.

@tiptap/extension-collaboration-caret

Patch Changes

  • Keep collaborative editing, cursor presence, and drag handles compatible with the updated @tiptap/y-tiptap binding.

@tiptap/extension-drag-handle

Patch Changes

  • Keep collaborative editing, cursor presence, and drag handles compatible with the updated @tiptap/y-tiptap binding.

@tiptap/ai-toolkit

Patch Changes

  • Keep collaborative editing, cursor presence, and drag handles compatible with the updated @tiptap/y-tiptap binding.
2026-09-30 20:53:36
tiptap

v3.31.4

@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 TypeError thrown when the source editor is destroyed right after dragging content into another editor.
  • splitBlock no longer throws TransformError: Inserted content deeper than insertion position when the selection spans block boundaries (for example from the start of one paragraph into another block, or across an isolating node). The command now returns false when 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" after setOptions() when editorProps.attributes is 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 parseMarkdown and renderMarkdown to the configured extension so hooks can read this.options and this.name without 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: false now 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 contentDOM no 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 parseMarkdown and renderMarkdown to the configured extension so hooks can read this.options and this.name without 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" and rowspan="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 renderHTML returns 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.
2026-09-04 18:39:13
tiptap

v3.31.3

@tiptap/extension-collaboration-caret

Patch Changes

  • Fixed a bug which allowed potentially unsafe color values being sent by other clients. Those unsafe colors received from collaboration users are now ignored.

@tiptap/react

Patch Changes

  • Fix a TypeScript error (TS2694) in the shipped type declarations when skipLibCheck is turned off.
2026-09-03 18:24:42
tiptap

v3.31.2

@tiptap/pm

Patch Changes

  • Bump prosemirror-view to ^1.42.3, which fixes an XSS vulnerability where pasting crafted HTML could run arbitrary JavaScript (GHSA-c8x8-7fp4-3x9w).
2026-09-03 16:40:54
tiptap

v3.31.1

@tiptap/core

Patch Changes

  • Fix freezes in framework-based node views on iOS and Android