fix(deps): update tiptap monorepo to v3.4.1 #6428
Merged
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.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
3.3.1
->3.4.1
Release Notes
ueberdosis/tiptap (@tiptap/extension-blockquote)
v3.4.1
Compare Source
Releases
@tiptap/extension-text-style@3.4.1
Patch Changes
46fa8b8
: Prefer the raw inlinestyle
attribute when parsingcolor
andbackground-color
so the original format (hex, rgba/hsla, etc.) ispreserved instead of falling back to the computed
element.style.*
value (which often resolves to
rgb(...)
).This fixes mismatches where consumers (for example, demo toolbars and
color pickers) expected the original hex values when initializing the
editor from HTML.
color
andbackground-color
parsers now look for astyle
attribute first and extract the declared value. If no raw style is
present, they still fall back to
element.style.color
/element.style.backgroundColor
.MIGRATION NOTES
least-disruptive fix for the issue.
rgb(...)
strings, you may see different string values (for example
#​958DF1
instead of
rgb(149, 141, 241)
) when HTML contained hex values.attribute (for example with a color utility like
tinycolor2
) beforecomparing or use the editor APIs in a way that doesn't depend on the
exact string representation.
@tiptap/react@3.4.1
Patch Changes
4dd8d58
: fix: @types/react version mismatch@tiptap/suggestion@3.4.1
Patch Changes
59fb86f
: Previously,clientRect
was only obtained throughdecorationNode
. IfdecorationNode
could not be obtained,clientRect
was set tonull
, which caused the suggestion not to render in some IME scenarios (notably Chinese IME).This change adds a fallback method to compute
clientRect
from the editor's cursor position whendecorationNode
is not available. It generates a DOMRect based on the cursor coordinates so the suggestion can render even when the decoration node is missing.v3.4.0
Compare Source
Patch Changes
895c73f
]ad51daa
]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.