Update tiptap monorepo to v3.27.1#2717
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
8139562 to
152257d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.13.26.1→3.27.1Release Notes
ueberdosis/tiptap (@tiptap/core)
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d: Ordered lists now support thetypeattribute (a,A,i,I).The
<ol>typeattribute is now fully preserved through the HTML round-trip:type="a"→ lowercase alphabetical markerstype="A"→ uppercase alphabetical markerstype="i"→ lowercase roman numeral markerstype="I"→ uppercase roman numeral markersPaste from external editors (Google Docs, Word, LibreOffice) now correctly detects the list style — both from the HTML
typeattribute and from CSSlist-style-typeproperties.Plain text paste of typed ordered list markers (e.g.
a. Item,I) Item,i. Item\nii. Item) is detected and converted to the correct list type.Markdown round-trip preserves typed markers: parsing
a. Itemcreatestype: "a", and serializing a typed list back to markdown uses the correct prefix (e.g.I.,ii.).Joining of adjacent lists now respects
type— two lists with different types (e.g. default numeric andtype="a") are not merged.795033c:parseAttributesnow supports any word characters at the start of classes or id attributes.0e0c4f9: FixmarksEqualto compare mark arrays as multisets instead of index-by-index, so order of marks no longer affects the result. Broaden the type signature to accept ProseMirrorMarkobjects (wheretypeis an object with anameproperty) alongside the existing JSON mark shape ({ type: string }).6d12bb9: Fix a edge-case inrewriteUnknownContentto not fail on null-ish values inside marks or nodes.ueberdosis/tiptap (@tiptap/extension-document)
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]ueberdosis/tiptap (@tiptap/extension-hard-break)
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]ueberdosis/tiptap (@tiptap/extension-image)
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]ueberdosis/tiptap (@tiptap/extension-link)
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
24051bd: FixisAllowedUriaccepting unknown protocols whose name contains a hyphen (e.g.unknown-protocol://test). The hyphen is a valid scheme character per RFC 3986, but the regex was built from a template literal where\-collapsed to-, leaving the terminator class[^a-z+.-:]to parse.-:as a character range that excluded0-9and/rather than-. With the proper double-escape, the regex correctly excludes-and unknown hyphenated schemes are rejected again.0d0094d]795033c]0e0c4f9]6d12bb9]ueberdosis/tiptap (@tiptap/extension-paragraph)
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]ueberdosis/tiptap (@tiptap/extension-placeholder)
v3.27.1Compare Source
Patch Changes
2be3fb9]v3.27.0Compare Source
Patch Changes
ueberdosis/tiptap (@tiptap/extension-table)
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]ueberdosis/tiptap (@tiptap/extension-task-item)
v3.27.1Compare Source
@tiptap/extension-drag-handle
Patch Changes
a16901d: Respect margin properties passed viadragImagePropertieson the drag preview. The clone reset its margin to0after copying styles, which discarded any margin the user explicitly requested. The reset now runs only when no margin property is listed indragImageProperties, so the drag image can keep the same spacing as the live block.@tiptap/extension-list
Patch Changes
a16901d: Fix ordered list parsing so under-indented continuation lines preserve their first character.@tiptap/extensions
Patch Changes
a16901d: Fix Placeholder flickering while a modal overlay is open. When the editor was occluded during a stream of transactions (e.g. remote collaboration edits), the viewport measurement fell back to a full-document range and repeatedly toggled thedata-placeholderattribute on empty blocks. The viewport window is now frozen when the editor can't be measured reliably, so placeholders stay stable.@tiptap/extension-drag-handle-react
Patch Changes
a16901d]@tiptap/extension-drag-handle-vue-2
Patch Changes
a16901d]@tiptap/extension-drag-handle-vue-3
Patch Changes
a16901d]@tiptap/extension-list-item
Patch Changes
a16901d]@tiptap/extension-list-keymap
Patch Changes
a16901d]@tiptap/extension-task-item
Patch Changes
a16901d]@tiptap/extension-task-list
Patch Changes
a16901d]@tiptap/extension-bullet-list
Patch Changes
a16901d]@tiptap/extension-ordered-list
Patch Changes
a16901d]@tiptap/extension-character-count
Patch Changes
a16901d]@tiptap/extension-dropcursor
Patch Changes
a16901d]@tiptap/extension-focus
Patch Changes
a16901d]@tiptap/extension-gapcursor
Patch Changes
a16901d]@tiptap/extension-history
Patch Changes
a16901d]@tiptap/extension-placeholder
Patch Changes
a16901d]@tiptap/extension-table-cell
Patch Changes
@tiptap/extension-table-header
Patch Changes
@tiptap/extension-table-row
Patch Changes
@tiptap/core
Patch Changes
@tiptap/extension-audio
Patch Changes
@tiptap/extension-blockquote
Patch Changes
@tiptap/extension-bold
Patch Changes
@tiptap/extension-bubble-menu
Patch Changes
@tiptap/extension-code
Patch Changes
@tiptap/extension-code-block
Patch Changes
@tiptap/extension-code-block-lowlight
Patch Changes
@tiptap/extension-collaboration
Patch Changes
@tiptap/extension-collaboration-caret
Patch Changes
@tiptap/extension-color
Patch Changes
@tiptap/extension-details
Patch Changes
@tiptap/extension-document
Patch Changes
@tiptap/extension-emoji
Patch Changes
@tiptap/extension-file-handler
Patch Changes
@tiptap/extension-floating-menu
Patch Changes
@tiptap/extension-font-family
Patch Changes
@tiptap/extension-hard-break
Patch Changes
@tiptap/extension-heading
Patch Changes
@tiptap/extension-highlight
Patch Changes
@tiptap/extension-horizontal-rule
Patch Changes
@tiptap/extension-image
Patch Changes
@tiptap/extension-invisible-characters
Patch Changes
@tiptap/extension-italic
Patch Changes
@tiptap/extension-link
Patch Changes
@tiptap/extension-mathematics
Patch Changes
@tiptap/extension-mention
Patch Changes
@tiptap/extension-node-range
Patch Changes
@tiptap/extension-paragraph
Patch Changes
@tiptap/extension-strike
Patch Changes
@tiptap/extension-subscript
Patch Changes
@tiptap/extension-superscript
Patch Changes
@tiptap/extension-table
Patch Changes
@tiptap/extension-table-of-contents
Patch Changes
@tiptap/extension-text
Patch Changes
@tiptap/extension-text-align
Patch Changes
@tiptap/extension-text-style
Patch Changes
@tiptap/extension-twitch
Patch Changes
@tiptap/extension-typography
Patch Changes
@tiptap/extension-underline
Patch Changes
@tiptap/extension-unique-id
Patch Changes
@tiptap/extension-youtube
Patch Changes
@tiptap/html
Patch Changes
@tiptap/markdown
Patch Changes
@tiptap/react
Patch Changes
@tiptap/starter-kit
Patch Changes
a16901d]a16901d]@tiptap/static-renderer
Patch Changes
@tiptap/suggestion
Patch Changes
@tiptap/vue-2
Patch Changes
@tiptap/vue-3
Patch Changes
v3.27.0Compare Source
@tiptap/extension-list
Minor Changes
6270b99: Ordered lists now support thetypeattribute (a,A,i,I).The
<ol>typeattribute is now fully preserved through the HTML round-trip:type="a"→ lowercase alphabetical markerstype="A"→ uppercase alphabetical markerstype="i"→ lowercase roman numeral markerstype="I"→ uppercase roman numeral markersPaste from external editors (Google Docs, Word, LibreOffice) now correctly detects the list style — both from the HTML
typeattribute and from CSSlist-style-typeproperties.Plain text paste of typed ordered list markers (e.g.
a. Item,I) Item,i. Item\nii. Item) is detected and converted to the correct list type.Markdown round-trip preserves typed markers: parsing
a. Itemcreatestype: "a", and serializing a typed list back to markdown uses the correct prefix (e.g.I.,ii.).Joining of adjacent lists now respects
type— two lists with different types (e.g. default numeric andtype="a") are not merged.Patch Changes
6270b99]6270b99]6270b99]6270b99]@tiptap/core
Patch Changes
6270b99: Ordered lists now support thetypeattribute (a,A,i,I).The
<ol>typeattribute is now fully preserved through the HTML round-trip:type="a"→ lowercase alphabetical markerstype="A"→ uppercase alphabetical markerstype="i"→ lowercase roman numeral markerstype="I"→ uppercase roman numeral markersPaste from external editors (Google Docs, Word, LibreOffice) now correctly detects the list style — both from the HTML
typeattribute and from CSSlist-style-typeproperties.Plain text paste of typed ordered list markers (e.g.
a. Item,I) Item,i. Item\nii. Item) is detected and converted to the correct list type.Markdown round-trip preserves typed markers: parsing
a. Itemcreatestype: "a", and serializing a typed list back to markdown uses the correct prefix (e.g.I.,ii.).Joining of adjacent lists now respects
type— two lists with different types (e.g. default numeric andtype="a") are not merged.6270b99:parseAttributesnow supports any word characters at the start of classes or id attributes.6270b99: FixmarksEqualto compare mark arrays as multisets instead of index-by-index, so order of marks no longer affects the result. Broaden the type signature to accept ProseMirrorMarkobjects (wheretypeis an object with anameproperty) alongside the existing JSON mark shape ({ type: string }).6270b99: Fix a edge-case inrewriteUnknownContentto not fail on null-ish values inside marks or nodes.@tiptap/pm@3.27.0
@tiptap/extension-link
Patch Changes
6270b99: FixisAllowedUriaccepting unknown protocols whose name contains a hyphen (e.g.unknown-protocol://test). The hyphen is a valid scheme character per RFC 3986, but the regex was built from a template literal where\-collapsed to-, leaving the terminator class[^a-z+.-:]to parse.-:as a character range that excluded0-9and/rather than-. With the proper double-escape, the regex correctly excludes-and unknown hyphenated schemes are rejected again.6270b99]6270b99]6270b99]6270b99]@tiptap/suggestion
Minor Changes
6270b99: Addprops.mount(element)for fully managed popup positioning. It mounts the popup into the configuredcontainer(defaultdocument.body), keeps it anchored to the cursor, and automatically repositions on scroll, resize, and layout shifts via Floating UI'sautoUpdate— no manual listeners required. It returns anunmountfunction to call inonExit.This is additive and opt-in: mounting and positioning manually with
props.floatingUi+props.clientRectremains supported as an escape hatch.6270b99: Dismiss managed suggestion popups when the user clicks outside both the popup and the editor. Enabled by default for popups mounted viaprops.mount, and configurable with the newdismissOnOutsideClickoption.6270b99: Expose Floating UI positioning configuration throughSuggestionProps. Consumers can now readplacement,offset,flip,container, and a resolvedfloatingUiconfig to drive their own positioning loop.6270b99: Add async suggestion lifecycle handling, including debounced asyncitems(), in-flight request aborting,initialItems, aloadingstate, and aminQueryLengthfilter.Patch Changes
6270b99]6270b99]6270b99]6270b99]@tiptap/markdown
Patch Changes
6270b99: Fix parsing with injected Marked instances so custom markdown tokenizers registered viamarked.use(...)are respected.6270b99: Fix unrecognized HTML detection during markdown parsing to work withoutwindow.DOMParserorHTMLUnknownElement, so angle-bracket placeholders are preserved as literal text in SSR and Node environments.6270b99]6270b99]6270b99]6270b99]@tiptap/extension-drag-handle
Patch Changes
6270b99: Fix multi-block drags only removing the first block when nested mode is enabled6270b99]6270b99]6270b99]6270b99]@tiptap/server-ai-toolkit
Minor Changes
6270b99: Remove legacy exports:GetSchemaAwarenessDataOptions,getSchemaAwarenessDataandSchemaAwarenessData@tiptap/extension-list-item
Patch Changes
6270b99]@tiptap/extension-list-keymap
Patch Changes
6270b99]@tiptap/extension-task-item
Patch Changes
6270b99]@tiptap/extension-task-list
Patch Changes
6270b99]@tiptap/extension-bullet-list
Patch Changes
6270b99]@tiptap/extension-ordered-list
Patch Changes
6270b99]@tiptap/extension-audio
Patch Changes
6270b99]6270b99]6270b99]6270b99]@tiptap/extension-blockquote
Patch Changes
6270b99]6270b99]6270b99]6270b99]@tiptap/extension-bold
Patch Changes
6270b99]6270b99]6270b99]6270b99]@tiptap/extension-bubble-menu
Patch Changes
6270b99]6270b99](https://redirect.github.com/ueberdosis/tipConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.