fix(deps): update tiptap (main)#8683
Conversation
e107791 to
2cb08c4
Compare
2cb08c4 to
25c33e5
Compare
25c33e5 to
c7f18ab
Compare
c7f18ab to
331aadb
Compare
331aadb to
25f384f
Compare
25f384f to
52a81c5
Compare
52a81c5 to
21c30ec
Compare
|
Some tests around tables are failing, which seems related. |
|
Fixed some of the issues using the unreleased New structure in diff --git a/src/nodes/CodeBlock.js b/src/nodes/CodeBlock.js
index caffbc207..61e886457 100644
--- a/src/nodes/CodeBlock.js
+++ b/src/nodes/CodeBlock.js
@@ -46,7 +46,7 @@ const CodeBlock = TiptapCodeBlockLowlight.extend({
},
addNodeView() {
- return VueNodeViewRenderer(CodeBlockView)
+ return VueNodeViewRenderer(CodeBlockView, { contentDOMElementTag: 'code' })
},
addKeyboardShortcuts() {
Note that the |
|
f69fd08 also fixed some of the issues. |
21c30ec to
c80d0ee
Compare
c80d0ee to
938deaa
Compare
938deaa to
35de752
Compare
|
tiptap 3.27.3 has been released. |
35de752 to
b6428e2
Compare
b6428e2 to
037982b
Compare
037982b to
8aa373a
Compare
8aa373a to
a6e3810
Compare
max-nextcloud
left a comment
There was a problem hiding this comment.
Cypress failure still seems to be related:
1) table plugin
Creates table and add multilines:
AssertionError: expected '<p><br class="ProseMirror-trailingBreak"></p>' to equal '<p dir="ltr">Line 1</p><p dir="ltr">Line 2</p><p dir="ltr">Line 3</p>'
+ expected - actual
-'<p><br class="ProseMirror-trailingBreak"></p>'
+'<p dir="ltr">Line 1</p><p dir="ltr">Line 2</p><p dir="ltr">Line 3</p>'
a6e3810 to
887ffa4
Compare
|
Looks like NodeViews now always contain two nested elements. The So looks like we need to get rid of the NodeViews for tables. Tiptap puts the controls into a completely different structure - so they do not need NodeViews for the |
887ffa4 to
e98923a
Compare


This PR contains the following updates:
3.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.4^3.23.6→^3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.43.23.6→3.27.4^3.23.6→^3.27.4^1.13.4→^1.13.5Release Notes
ueberdosis/tiptap (@tiptap/core)
v3.27.4Compare Source
Patch Changes
v3.27.3Compare Source
Patch Changes
023f98c: FixdeleteSelectionto delete content across all selection ranges instead of only the first range. This restores multi-cell table selections and other custom selections with multiple ranges.v3.27.2Compare Source
Patch Changes
ceebb31]v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d: Ordered lists now support thetypeattribute (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 markersPaste 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.795033c:parseAttributesnow supports any word characters at the start of classes or id attributes.0e0c4f9: FixmarksEqualto 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 }).6d12bb9: Fix a edge-case inrewriteUnknownContentto not fail on null-ish values inside marks or nodes.v3.26.1Compare Source
Patch Changes
v3.26.0Compare Source
Patch Changes
v3.25.0Compare Source
Patch Changes
ec291dd: Fix: dragging an inline/resizable image within the editor no longer creates a duplicateWhen the
Imageextension was configured withinline: trueorresizeenabled, dragging an image within the editor could insert a duplicate at the drop position instead of moving it. This happened because the browser's native image drag behavior could populatedataTransfer.files, causing the FileHandler extension to intercept the drop before ProseMirror's internal move logic could run.454e9b8: Addclearablemark option (defaulttrue).unsetAllMarksnow skips marks withclearable: false, so semantic marks like comments are not removed by "clear formatting".9cf8db0: AddattrsEqualandmarksEqualutility functions to@tiptap/core.attrsEqualcompares two attribute objects for equality regardless of key ordering.marksEqualcompares two arrays of mark objects by type and attributes usingattrsEqual.3d4f94c: Fix plain-text copy of table cell selections including content from unselected cells in between. Each selected range is now serialized independently and joined in document order, so dragging upward (reverse selection) also produces output in document order.Updated dependencies [
c1a2ce8]v3.24.0Compare Source
Patch Changes
7c0499b]ueberdosis/tiptap (@tiptap/extension-blockquote)
v3.27.4Compare Source
Patch Changes
53f8e57: Fix a crash when pressing backspace at the very start of the document with a leading image. The blockquote backspace handler dereferenced an undefined parent at the top (doc) level, throwingTypeError: Cannot read properties of undefined (reading 'type'). It now bails out so backspace is a no-op at the document start.6238a3c: Add@tiptap/pmas a peer dependency so bundlers resolve ProseMirror packages from the app instead of duplicatingprosemirror-modelinside@tiptap/extension-blockquote.v3.27.3Compare Source
Patch Changes
023f98c]v3.27.2Compare Source
Patch Changes
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]v3.26.1Compare Source
Patch Changes
v3.26.0Compare Source
Minor Changes
155a613: Backspace at the start of a non-first child of a blockquote now lifts that child out, splitting the blockquote around it. A second backspace at the start of a top-level textblock whose previous sibling is a blockquote merges the textblock's inline content into the blockquote's last textblock instead of pulling the paragraph back inside.Patch Changes
v3.25.0Compare Source
Patch Changes
ec291dd]454e9b8]9cf8db0]3d4f94c]v3.24.0Compare Source
Patch Changes
ueberdosis/tiptap (@tiptap/extension-bold)
v3.27.4Compare Source
Patch Changes
v3.27.3Compare Source
Patch Changes
023f98c]v3.27.2Compare Source
Patch Changes
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]v3.26.1Compare Source
Patch Changes
v3.26.0Compare Source
Patch Changes
v3.25.0Compare Source
Patch Changes
ec291dd]454e9b8]9cf8db0]3d4f94c]v3.24.0Compare Source
Patch Changes
ueberdosis/tiptap (@tiptap/extension-code)
v3.27.4Compare Source
Patch Changes
v3.27.3Compare Source
Patch Changes
023f98c]v3.27.2Compare Source
Patch Changes
v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]v3.26.1Compare Source
Patch Changes
v3.26.0Compare Source
Patch Changes
v3.25.0Compare Source
Patch Changes
7d0ce2a: Fixed a bug where typing a character before an inline code markdown shortcut (e.g.afollowed by backtick-delimited code) would delete the preceding character. The preceding character is now preserved.ec291dd]454e9b8]9cf8db0]3d4f94c]v3.24.0Compare Source
Patch Changes
ueberdosis/tiptap (@tiptap/extension-code-block)
v3.27.4Compare Source
Patch Changes
v3.27.3Compare Source
Patch Changes
023f98c]v3.27.2Compare Source
Patch Changes
ceebb31]v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]v3.26.1Compare Source
Patch Changes
v3.26.0Compare Source
Patch Changes
v3.25.0Compare Source
Patch Changes
ec291dd]454e9b8]9cf8db0]c1a2ce8]3d4f94c]v3.24.0Compare Source
Patch Changes
7c0499b]ueberdosis/tiptap (@tiptap/extension-code-block-lowlight)
v3.27.4Compare Source
Patch Changes
v3.27.3Compare Source
Patch Changes
023f98c]v3.27.2Compare Source
Patch Changes
ceebb31]v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]v3.26.1Compare Source
Patch Changes
v3.26.0Compare Source
Patch Changes
v3.25.0Compare Source
Patch Changes
ec291dd]454e9b8]9cf8db0]c1a2ce8]3d4f94c]v3.24.0Compare Source
Patch Changes
7c0499b]ueberdosis/tiptap (@tiptap/extension-collaboration)
v3.27.4Compare Source
Patch Changes
v3.27.3Compare Source
Patch Changes
023f98c]v3.27.2Compare Source
Patch Changes
ceebb31]v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]v3.26.1Compare Source
Patch Changes
a38c9c0: Bump@tiptap/y-tiptapto version ^3.0.5v3.26.0Compare Source
Patch Changes
v3.25.0Compare Source
Patch Changes
3163b13: FixedonContentErrornot being triggered when invalid collaborative content is detected. ThefilterTransactionhook now allows the transaction through to keep ProseMirror state in sync with Yjs, ensuring thecontentErrorevent fires correctly.ec291dd]454e9b8]9cf8db0]c1a2ce8]3d4f94c]v3.24.0Compare Source
Patch Changes
de337e8: Fix a memory leak where destroying an editor while its Y.Doc/provider stays alive (e.g. multiple editors sharing one provider) left the editor uncollectable. Yjs' UndoManager registered adoc.on('destroy', ...)listener that was never removed, keeping the UndoManager — and through it the whole editor — reachable from the long-lived doc. Fixed upstream in@tiptap/y-tiptap; this bumps the dependency to pull in the fix.7c0499b]ueberdosis/tiptap (@tiptap/extension-collaboration-caret)
v3.27.4Compare Source
Patch Changes
v3.27.3Compare Source
Patch Changes
023f98c]v3.27.2Compare Source
Patch Changes
ceebb31]v3.27.1Compare Source
Patch Changes
v3.27.0Compare Source
Patch Changes
0d0094d]795033c]0e0c4f9]6d12bb9]v3.26.1Compare Source
Patch Changes
a38c9c0: Bump@tiptap/y-tiptapto version ^3.0.5v3.26.0Compare Source
Patch Changes
v3.25.0Compare Source
Patch Changes
ae17f17: Fix crash when awareness state value is null or undefined (e.g. after a client disconnects)ec291dd]454e9b8]9cf8db0]c1a2ce8]3d4f94c]v3.24.0Compare Source
Patch Changes
976b8e3: Fix memory leak when destroying an editor while the collaboration provider stays alive (e.g. multiple editors sharing one providConfiguration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.