@tiptap/extension-list
3.34.0 · 13 Nov 2026MIT32.2M / weekRepositoryHomepagenpmAtom feed
3.34.0 is the newest release of 3.x.
In short
3 fixed
Release note
Releases
@tiptap/extension-text-style@3.4.1
Patch Changes
Prefer the raw inline
styleattribute when parsingcolorandbackground-colorso the original format (hex, rgba/hsla, etc.) is
preserved instead of falling back to the computedelement.style.*
value (which often resolves torgb(...)).This fixes mismatches where consumers (for example, demo toolbars and
color pickers) expected the original hex values when initializing the
editor from HTML.The
colorandbackground-colorparsers now look for astyle
attribute first and extract the declared value. If no raw style is
present, they still fall back toelement.style.color/element.style.backgroundColor.
MIGRATION NOTES
This is a patch-level change. It corrects parsing behavior and is the
least-disruptive fix for the issue.If your code relied on the parser returning computed
rgb(...)
strings, you may see different string values (for example#958DF1
instead ofrgb(149, 141, 241)) when HTML contained hex values.If you need a stable, normalized format for comparisons, normalize the
attribute (for example with a color utility liketinycolor2) before
comparing or use the editor APIs in a way that doesn't depend on the
exact string representation.@tiptap/core@3.4.1
@tiptap/react@3.4.1
Patch Changes
@types/react version mismatch
@tiptap/suggestion@3.4.1
Patch Changes
Previously,
clientRectwas only obtained throughdecorationNode. IfdecorationNodecould not be obtained,clientRectwas set tonull, which caused the suggestion not to render in some IME scenarios (notably Chinese IME).This change adds a fallback method to compute
clientRectfrom the editor's cursor position whendecorationNodeis not available. It generates a DOMRect based on the cursor coordinates so the suggestion can render even when the decoration node is missing.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.