fix(deps): update tiptap to ^3.30.1 (stable1.0) - #2909
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.29.2→^3.30.1^3.29.2→^3.30.1^3.29.2→^3.30.1^3.29.2→^3.30.1^3.29.2→^3.30.1Release Notes
ueberdosis/tiptap (@tiptap/extension-character-count)
v3.30.1Compare Source
Patch Changes
v3.30.0Compare Source
Patch Changes
ueberdosis/tiptap (@tiptap/extension-task-item)
v3.30.1Compare Source
@tiptap/extension-table
Patch Changes
abc8828: Fixed table markdown pipe escaping so the extension loads on older Safari and iOS versions (WebKit before Safari 16.4).abc8828]@tiptap/core
Patch Changes
abc8828: Added new ProseMirror helpers that check whether a value is a specific ProseMirror type.@tiptap/extension-table-cell
Patch Changes
abc8828]@tiptap/extension-table-header
Patch Changes
abc8828]@tiptap/extension-table-row
Patch Changes
abc8828]@tiptap/extension-audio
Patch Changes
abc8828]@tiptap/extension-blockquote
Patch Changes
abc8828]@tiptap/extension-bold
Patch Changes
abc8828]@tiptap/extension-bubble-menu
Patch Changes
abc8828]@tiptap/extension-code
Patch Changes
abc8828]@tiptap/extension-code-block
Patch Changes
abc8828]@tiptap/extension-code-block-lowlight
Patch Changes
abc8828]@tiptap/extension-collaboration
Patch Changes
abc8828]@tiptap/extension-collaboration-caret
Patch Changes
abc8828]@tiptap/extension-details
Patch Changes
abc8828]@tiptap/extension-document
Patch Changes
abc8828]@tiptap/extension-drag-handle
Patch Changes
abc8828]@tiptap/extension-emoji
Patch Changes
abc8828]@tiptap/extension-file-handler
Patch Changes
abc8828]@tiptap/extension-find-and-replace
Patch Changes
abc8828]@tiptap/extension-floating-menu
Patch Changes
abc8828]@tiptap/extension-hard-break
Patch Changes
abc8828]@tiptap/extension-heading
Patch Changes
abc8828]@tiptap/extension-highlight
Patch Changes
abc8828]@tiptap/extension-horizontal-rule
Patch Changes
abc8828]@tiptap/extension-image
Patch Changes
abc8828]@tiptap/extension-invisible-characters
Patch Changes
abc8828]@tiptap/extension-italic
Patch Changes
abc8828]@tiptap/extension-link
Patch Changes
abc8828]@tiptap/extension-list
Patch Changes
abc8828]@tiptap/extension-mathematics
Patch Changes
abc8828]@tiptap/extension-mention
Patch Changes
abc8828]@tiptap/extension-node-range
Patch Changes
abc8828]@tiptap/extension-paragraph
Patch Changes
abc8828]@tiptap/extension-ruby-text
Patch Changes
abc8828]@tiptap/extension-strike
Patch Changes
abc8828]@tiptap/extension-subscript
Patch Changes
abc8828]@tiptap/extension-superscript
Patch Changes
abc8828]@tiptap/extension-table-of-contents
Patch Changes
abc8828]@tiptap/extension-text
Patch Changes
abc8828]@tiptap/extension-text-align
Patch Changes
abc8828]@tiptap/extension-text-style
Patch Changes
abc8828]@tiptap/extension-twitch
Patch Changes
abc8828]@tiptap/extension-typography
Patch Changes
abc8828]@tiptap/extension-underline
Patch Changes
abc8828]@tiptap/extension-unique-id
Patch Changes
abc8828]@tiptap/extension-youtube
Patch Changes
abc8828]@tiptap/extensions
Patch Changes
abc8828]@tiptap/html
Patch Changes
abc8828]@tiptap/markdown
Patch Changes
abc8828]@tiptap/react
Patch Changes
abc8828]@tiptap/starter-kit
Patch Changes
abc8828]@tiptap/static-renderer
Patch Changes
abc8828]@tiptap/suggestion
Patch Changes
abc8828]@tiptap/vue-2
Patch Changes
abc8828]@tiptap/vue-3
Patch Changes
abc8828]@tiptap/extension-drag-handle-react
Patch Changes
@tiptap/extension-drag-handle-vue-2
Patch Changes
@tiptap/extension-drag-handle-vue-3
Patch Changes
@tiptap/extension-list-item
Patch Changes
@tiptap/extension-list-keymap
Patch Changes
@tiptap/extension-task-item
Patch Changes
@tiptap/extension-task-list
Patch Changes
@tiptap/extension-bullet-list
Patch Changes
@tiptap/extension-ordered-list
Patch Changes
@tiptap/extension-color
Patch Changes
@tiptap/extension-font-family
Patch Changes
@tiptap/extension-character-count
Patch Changes
@tiptap/extension-dropcursor
Patch Changes
@tiptap/extension-focus
Patch Changes
@tiptap/extension-gapcursor
Patch Changes
@tiptap/extension-history
Patch Changes
@tiptap/extension-placeholder
Patch Changes
v3.30.0Compare Source
@tiptap/vue-2
Minor Changes
ceb0dac: New Decorations APIFinally the decorations API is here! Even though Decorations itself are nothing new in ProseMirror, the new API makes it much easier to use them in Tiptap without leaving your extensions.
Decorations change how the document looks without changing the document itself. Highlighting search results, marking spelling mistakes, showing collaborator cursors, putting a drag handle next to every block.
Until now you had to write a ProseMirror plugin by hand for this, keep the decoration set in plugin state, and map it forward on every transaction. Extensions can now declare decorations directly with a new
addDecorations()hook.There are three kinds.
Decoration.Inline()styles a range of text.Decoration.Node()puts attributes on a block's DOM element.Decoration.Widget()renders your own element at a single position.Every extension that declares decorations is collected into one plugin, so several extensions can decorate the same document without fighting over it.
Doing less work on every keystroke
By default decorations are rebuilt whenever the document changes. That is fine for small documents and wasteful for large ones, so there are two ways to narrow it down.
shouldUpdate()skips transactions you do not care about. If your decorations only depend on headings, ignore everything else.update: 'changedRanges'together withcreateInRange()only rescans the blocks that actually changed. On a long document this is the difference between scanning the whole thing on every keystroke and scanning one paragraph.For decorations driven by data outside the editor, like comments loaded from a server, use
update: 'manual'and refresh them yourself witheditor.commands.updateDecorations().React and Vue components as widgets
ReactWidgetRendererandVueWidgetRendererrender a real component into a widget decoration, inside your existing app context. Providers, context and stores work as usual.Widgets take a
key. Reuse the same key and the component instance stays mounted while the document changes around it, so local state such as an open menu, a counter or a half-typed input survives editing. Use a stable id from your own data, not a position or a list index, otherwise the component remounts and loses that state.Widgets also accept the ProseMirror options
side,relaxedSide,stopEventandignoreSelection.Documentation
Patch Changes
ceb0dac: Fix FloatingMenu not registering when the editor prop is provided synchronously, which prevented the menu from appearingceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/extension-list
Minor Changes
ceb0dac:ListKeymapnow registers aTabshortcut that sinks a top-level textblock into the previous list's last item. Pressing Tab at the start of a paragraph right after a bullet/ordered/task list moves the paragraph inside the last list item. The handler does nothing when the cursor is already inside a list item (sinkListItemkeeps working), when there is no list before the paragraph, when the caret is mid-textblock, or when the selection is not a text selection (for example a gap cursor).@tiptap/corealso exposes a newgetPreviousBlockSibling($pos)helper that returns the block-level sibling before the cursor's textblock, or null at the first child of the block parent.Patch Changes
ceb0dac: Parse block math that follows an ordered list item without a blank line, both after the list and indented inside the item, instead of pulling it into the item's text.ceb0dac: TaskItem: the checkbox label now also fills the wrapping label element, so accessibility audits no longer flag it as empty.ceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/core
Minor Changes
ceb0dac:ListKeymapnow registers aTabshortcut that sinks a top-level textblock into the previous list's last item. Pressing Tab at the start of a paragraph right after a bullet/ordered/task list moves the paragraph inside the last list item. The handler does nothing when the cursor is already inside a list item (sinkListItemkeeps working), when there is no list before the paragraph, when the caret is mid-textblock, or when the selection is not a text selection (for example a gap cursor).@tiptap/corealso exposes a newgetPreviousBlockSibling($pos)helper that returns the block-level sibling before the cursor's textblock, or null at the first child of the block parent.ceb0dac: New Decorations APIFinally the decorations API is here! Even though Decorations itself are nothing new in ProseMirror, the new API makes it much easier to use them in Tiptap without leaving your extensions.
Decorations change how the document looks without changing the document itself. Highlighting search results, marking spelling mistakes, showing collaborator cursors, putting a drag handle next to every block.
Until now you had to write a ProseMirror plugin by hand for this, keep the decoration set in plugin state, and map it forward on every transaction. Extensions can now declare decorations directly with a new
addDecorations()hook.There are three kinds.
Decoration.Inline()styles a range of text.Decoration.Node()puts attributes on a block's DOM element.Decoration.Widget()renders your own element at a single position.Every extension that declares decorations is collected into one plugin, so several extensions can decorate the same document without fighting over it.
Doing less work on every keystroke
By default decorations are rebuilt whenever the document changes. That is fine for small documents and wasteful for large ones, so there are two ways to narrow it down.
shouldUpdate()skips transactions you do not care about. If your decorations only depend on headings, ignore everything else.update: 'changedRanges'together withcreateInRange()only rescans the blocks that actually changed. On a long document this is the difference between scanning the whole thing on every keystroke and scanning one paragraph.For decorations driven by data outside the editor, like comments loaded from a server, use
update: 'manual'and refresh them yourself witheditor.commands.updateDecorations().React and Vue components as widgets
ReactWidgetRendererandVueWidgetRendererrender a real component into a widget decoration, inside your existing app context. Providers, context and stores work as usual.Widgets take a
key. Reuse the same key and the component instance stays mounted while the document changes around it, so local state such as an open menu, a counter or a half-typed input survives editing. Use a stable id from your own data, not a position or a list index, otherwise the component remounts and loses that state.Widgets also accept the ProseMirror options
side,relaxedSide,stopEventandignoreSelection.Documentation
Patch Changes
ceb0dac: FixedinsertContent,insertContentAtandsetContentfailing when prosemirror-model is loaded more than once.ceb0dac]@tiptap/starter-kit
Patch Changes
ceb0dac: StarterKit now pins its bundled@tiptap/*dependencies to the exact version it was released with, so installing a specific StarterKit version gives you that version's extension set instead of the newest one.ceb0dac]ceb0dac]ceb0dac]ceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/react
Minor Changes
ceb0dac: New Decorations APIFinally the decorations API is here! Even though Decorations itself are nothing new in ProseMirror, the new API makes it much easier to use them in Tiptap without leaving your extensions.
Decorations change how the document looks without changing the document itself. Highlighting search results, marking spelling mistakes, showing collaborator cursors, putting a drag handle next to every block.
Until now you had to write a ProseMirror plugin by hand for this, keep the decoration set in plugin state, and map it forward on every transaction. Extensions can now declare decorations directly with a new
addDecorations()hook.There are three kinds.
Decoration.Inline()styles a range of text.Decoration.Node()puts attributes on a block's DOM element.Decoration.Widget()renders your own element at a single position.Every extension that declares decorations is collected into one plugin, so several extensions can decorate the same document without fighting over it.
Doing less work on every keystroke
By default decorations are rebuilt whenever the document changes. That is fine for small documents and wasteful for large ones, so there are two ways to narrow it down.
shouldUpdate()skips transactions you do not care about. If your decorations only depend on headings, ignore everything else.update: 'changedRanges'together withcreateInRange()only rescans the blocks that actually changed. On a long document this is the difference between scanning the whole thing on every keystroke and scanning one paragraph.For decorations driven by data outside the editor, like comments loaded from a server, use
update: 'manual'and refresh them yourself witheditor.commands.updateDecorations().React and Vue components as widgets
ReactWidgetRendererandVueWidgetRendererrender a real component into a widget decoration, inside your existing app context. Providers, context and stores work as usual.Widgets take a
key. Reuse the same key and the component instance stays mounted while the document changes around it, so local state such as an open menu, a counter or a half-typed input survives editing. Use a stable id from your own data, not a position or a list index, otherwise the component remounts and loses that state.Widgets also accept the ProseMirror options
side,relaxedSide,stopEventandignoreSelection.Documentation
Patch Changes
ceb0dac: React node views no longer show the selected state when the selection covers a position the node view has moved away from.ceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/markdown
Patch Changes
ceb0dac: Markdown with inline HTML such as an unclosed<b>tag no longer parses into an invalid document. The tag is dropped and its text is kept.ceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/static-renderer
Patch Changes
ceb0dac: Fixed table cell and header spans in the React static renderer.ceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/pm
Patch Changes
ceb0dac: Fix the./schema-listexport map pointingtypesatdist/schema/, which is not emitted. Tools that read thetypescondition directly could not resolve@tiptap/pm/schema-list.@tiptap/extension-table
Patch Changes
ceb0dac: Deleting the last row or column of a table no longer moves the cursor outside the table when there is content below it.ceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/extension-drag-handle-react
Patch Changes
ceb0dac: Fixed the ReactDragHandlebreaking drag-and-drop whenonNodeChangeis an inline callback, by no longer re-registering its plugin when a callback's identity changes.ceb0dac]ceb0dac]ceb0dac]@tiptap/extension-mathematics
Patch Changes
ceb0dac: Allow KaTeX 0.18 to be installed with the math extensionceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/extension-blockquote
Patch Changes
ceb0dac: Fixed Backspace freezing after merging a paragraph into a blockquote.ceb0dac]ceb0dac]ceb0dac]ceb0dac]@tiptap/vue-3
Minor Changes
ceb0dac: New Decorations APIFinally the decorations API is here! Even though Decorations itself are nothing new in ProseMirror, the new API makes it much easier to use them in Tiptap without leaving your extensions.
Decorations change how the document looks without changing the document itself. Highlighting search results, marking spelling mistakes, showing collaborator cursors, putting a drag handle next to every block.
Until now you had to write a ProseMirror plugin by hand for this, keep the decoration set in plugin state, and map it forward on every transaction. Extensions can now declare decorations directly with a new
addDecorations()hook.There are three kinds.
Decoration.Inline()styles a range of text.Decoration.Node()puts attributes on a block's DOM element.Decoration.Widget()renders your own element at a single position.Every extension that declares decorations is collected into one plugin, so several extensions can decorate the same document without fighting over it.
Doing less work on every keystroke
By default decorations are rebuilt whenever the document changes. That is fine for small documents and wasteful for large ones, so there are two ways to narrow it down.
shouldUpdate()skips transactions you do not care about. If your decorations only depend on headings, ignore everything else.update: 'changedRanges'together withcreateInRange()only rescans the blocks that actually changed. On a long document this is the difference between scanning the whole thing on every keystroke and scanning one paragraph.For decorations driven by data outside the editor, like comments loaded from a server, use
update: 'manual'and refresh them yourself witheditor.commands.updateDecorations().React and Vue components as widgets
ReactWidgetRendererandVueWidgetRendererrender a real component into a widget decoration, inside yourConfiguration
📅 Schedule: (in timezone Europe/Berlin)
🚦 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.