@tiptap/extension-list
Minor Changes
-
6270b99: Ordered lists now support the
typeattribute (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 markers
Paste 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
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- @tiptap/core@3.27.0
- @tiptap/pm@3.27.0
@tiptap/core
Patch Changes
-
6270b99: Ordered lists now support the
typeattribute (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 markers
Paste 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: Fix
marksEqualto 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 in
rewriteUnknownContentto not fail on null-ish values inside marks or nodes. -
@tiptap/pm@3.27.0
@tiptap/extension-link
Patch Changes
- 6270b99: Fix
isAllowedUriaccepting 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. - Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- @tiptap/core@3.27.0
- @tiptap/pm@3.27.0
@tiptap/suggestion
Minor Changes
-
6270b99: Add
props.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 via
props.mount, and configurable with the newdismissOnOutsideClickoption. -
6270b99: Expose Floating UI positioning configuration through
SuggestionProps. Consumers can now readplacement,offset,flip,container, and a resolvedfloatingUiconfig to drive their own positioning loop. -
6270b99: Add async suggestion lifecycle handling, including debounced async
items(), in-flight request aborting,initialItems, aloadingstate, and aminQueryLengthfilter.
Patch Changes
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- @tiptap/core@3.27.0
- @tiptap/pm@3.27.0
@tiptap/markdown
Patch Changes
- 6270b99: Fix parsing with injected Marked instances so custom markdown tokenizers registered via
marked.use(...)are respected. - 6270b99: Fix unrecognized HTML detection during markdown parsing to work without
window.DOMParserorHTMLUnknownElement, so angle-bracket placeholders are preserved as literal text in SSR and Node environments. - Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- @tiptap/core@3.27.0
- @tiptap/pm@3.27.0
@tiptap/extension-drag-handle
Patch Changes
- 6270b99: Fix multi-block drags only removing the first block when nested mode is enabled
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- Updated dependencies [6270b99]
- @tiptap/core@3.27.0
- @tiptap/extension-collaboration@3.27.0
- @tiptap/extension-node-range@3.27.0
- @tiptap/pm@3.27.0