Skip to content

fix(deps): update tiptap to ^3.4.1 (stable0.9) - #2047

Merged
enjeck merged 1 commit into
stable0.9from
renovate/stable0.9-tiptap
Sep 7, 2025
Merged

fix(deps): update tiptap to ^3.4.1 (stable0.9)#2047
enjeck merged 1 commit into
stable0.9from
renovate/stable0.9-tiptap

Conversation

@renovate

@renovate renovate Bot commented Sep 6, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@tiptap/extension-character-count (source) ^3.3.0 -> ^3.4.1 age confidence
@tiptap/extension-task-item (source) ^3.3.0 -> ^3.4.1 age confidence
@tiptap/extension-task-list (source) ^3.3.0 -> ^3.4.1 age confidence
@tiptap/starter-kit (source) ^3.3.0 -> ^3.4.1 age confidence
@tiptap/vue-2 (source) ^3.3.0 -> ^3.4.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

ueberdosis/tiptap (@​tiptap/extension-character-count)

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Patch Changes

v3.3.1

Compare Source

Patch Changes
ueberdosis/tiptap (@​tiptap/extension-task-item)

v3.4.1

Compare Source

Releases
@​tiptap/extension-text-style@​3.4.1
Patch Changes
  • 46fa8b8: Prefer the raw inline style attribute when parsing color and
    background-color so the original format (hex, rgba/hsla, etc.) is
    preserved 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.

    • The color and background-color parsers now look for a style
      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

    • 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 of rgb(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 like tinycolor2) 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
@​tiptap/suggestion@​3.4.1
Patch Changes
  • 59fb86f: Previously, clientRect was only obtained through decorationNode. If decorationNode could not be obtained, clientRect was set to null, 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 when decorationNode 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

Releases

@​tiptap/core@​3.4.0

Minor Changes
  • ad51daa: Add mount and unmount events to the Editor instance for tracking mounts and unmounts
Patch Changes
  • 895c73f: Fix can().toggleMark() returning incorrect result when cursor is inside nodes that disallow marks

    Fixed an issue where can().toggleMark('bold') incorrectly returned true when the cursor was positioned inside a code block (with no selection), even though marks are not allowed in code blocks. The method now correctly returns false in this scenario by checking if the parent node allows the mark type when the selection is a cursor.

@​tiptap/extension-dropcursor@​3.4.0

Patch Changes
  • ef909f1: Updated DropcursorOptions.color types to use types defined in prosemirror-dropcursor

@​tiptap/extension-code-block@​3.4.0

Patch Changes
  • 11c8085: Added indentation support for code blocks via Tab. Is deactivated by default.

    New Extension Options:

    • enableTabIndentation: boolean - controls if tab completion should be enabled
    • tabSize: number - controls how many spaces are inserted for a tab

@​tiptap/extension-code-block-lowlight@​3.4.0

Patch Changes
  • 11c8085: Added indentation support for code blocks via Tab. Is deactivated by default.

    New Extension Options:

    • enableTabIndentation: boolean - controls if tab completion should be enabled
    • tabSize: number - controls how many spaces are inserted for a tab

@​tiptap/extension-details@​3.4.0

Patch Changes
  • d3773c7: Fixed an issue where the input method editor (IME) failed to handle Chinese text correctly when entering the first word. Users can now input multiple words as expected.

@​tiptap/extension-drag-handle-vue-2@​3.4.0

Patch Changes
  • 2cb08d3: Use factory function for object default value as required by vue 2.
  • 2cb08d3: Fixed a bug that would cause Vue 2 to throw errors in console because Vue 2 expects factory functions for prop defaults

@​tiptap/suggestion@​3.4.0

Patch Changes
  • 3733bb9: Allow consumers to handle the Escape key via render().onKeyDown before the suggestion plugin auto-exits.

    Previously the suggestion plugin intercepted Escape internally and immediately called onExit, preventing render().onKeyDown from receiving the event and stopping propagation. Now render().onKeyDown is invoked first for Escape; if it returns true the plugin assumes the consumer handled the event (so they can call event.preventDefault() / event.stopPropagation() and optionally call exitSuggestion(view) themselves). If it returns false (or is absent), the plugin will continue to call onExit and close the suggestion as before.

    This change enables scenarios where the editor is inside a modal/drawer and the consumer needs to prevent the outer UI from reacting to Escape while still controlling the suggestion's lifecycle.

  • 90cbed5: Remove the global document mousedown handler that closed suggestion popups when clicking outside.

    Previously the suggestion plugin listened for document mousedown events and closed suggestion UIs when the user clicked outside the editor or suggestion portal. That behavior has been removed to avoid framework-specific coupling (for example reliance on .react-renderer) and related compatibility issues.

    Now suggestions are closed via other signals:

    • pressing Escape (unchanged)
    • selection/cursor changes
    • renderer.onExit (renderers can call this)
    • programmatic calls to exitSuggestion(view)

v3.3.1

Compare Source

Releases
@​tiptap/extension-code@​3.3.1
Patch Changes
  • 9e02c12: Prevent incorrect insertion of code marks when a space immediately follows backticks.
@​tiptap/extension-collaboration@​3.3.1
Patch Changes
  • 02eae08: Fixed outdated warning message to reference @tiptap/extension-undo-redo instead of @tiptap/extension-history.
@​tiptap/extension-drag-handle@​3.3.1
Patch Changes
  • 8eff69a: Improve drag handle node lookup by scanning element bounding rects inside the editor instead of performing per-pixel elementsFromPoint loops, and throttle mouse handling to a single update per animation frame to reduce CPU usage and improve stability.

    This should make drag handle positioning and node detection significantly faster and more robust.

@​tiptap/extension-emoji@​3.3.1
Patch Changes
  • 03bf0ea: Preserve prefixes when replacing emoji shortcodes to avoid unintended conversions.

    Previously, shortcodes such as :x: could be converted into emoji nodes even when part of a larger string (e.g., in URLs or other text). The paste handler now preserves prefixes, which helps prevent unwanted conversions in such cases, but does not specifically target URLs.

Patch Changes
  • 96a34a0: Fix collaboration extension selection to use the extension with a provider instead of the first registered extension
ueberdosis/tiptap (@​tiptap/starter-kit)

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Patch Changes

v3.3.1

Compare Source

Patch Changes
ueberdosis/tiptap (@​tiptap/vue-2)

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Patch Changes

v3.3.1

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Europe/Berlin, 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added 3. to review Waiting for reviews dependencies Pull requests that update a dependency file labels Sep 6, 2025
@renovate
renovate Bot requested review from blizzz and enjeck as code owners September 6, 2025 08:25
@renovate renovate Bot added dependencies Pull requests that update a dependency file 3. to review Waiting for reviews labels Sep 6, 2025
@github-actions
github-actions Bot enabled auto-merge September 6, 2025 08:25
@enjeck
enjeck disabled auto-merge September 7, 2025 09:56
@enjeck
enjeck merged commit 937eecc into stable0.9 Sep 7, 2025
49 of 51 checks passed
@enjeck
enjeck deleted the renovate/stable0.9-tiptap branch September 7, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant