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
|
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
e98923a to
8159222
Compare
8159222 to
e5a5c5f
Compare
e5a5c5f to
ef7ff23
Compare
ef7ff23 to
e4f7446
Compare
e4f7446 to
d4cb1de
Compare


This PR contains the following updates:
3.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.0^3.23.6→^3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.03.23.6→3.29.0^3.23.6→^3.29.0^1.13.4→^1.13.5Release Notes
ueberdosis/tiptap (@tiptap/core)
v3.29.0Compare Source
Patch Changes
d26840f: Fix a TypeScript build error inisAndroid()where comparingnavigator.platformagainst the literal'Android'with===could fail to compile under somelib.dom.d.tstypings ("types have no overlap"). Switched to the same.includes()pattern already used byisiOS(), which is not affected by this TypeScript narrowing issue. No runtime behavior change.935e63f: Fixed a bug where deleting anAllSelection(for example right after Ctrl/Cmd+A) left a lingering "phantom" selection highlight over the emptied document instead of a text cursor.deleteSelectionnow collapses the selection to a cursor.b4c5a2d: Fix input rules crashing when the matched text spans an inline atom node like a mention.a963d48: Node viewgetPos()now returnsundefinedinstead of throwing when the position cannot be resolved yet, for example when React 19 renders a node view component while the editor view is still updating.51f45b6: FixedonContentErrorthrowing when callingeditor.commandsfrom inside the handler on initial load with invalid content. The editor now has a usable state (seeded from the stripped fallback document) beforeonContentErrorfires.0f63969: Fixeditor.$pos()returning the wrong node inside container nodes, for example the list item instead of the list.9acaa65: AddinsertDefaultBlockto insert the default textblock allowed at a position. It accepts an optional position, attributes, content, and selection-update option.e150ee0]v3.28.0Compare Source
Patch Changes
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.29.0Compare Source
Patch Changes
d26840f]e150ee0]935e63f]b4c5a2d]a963d48]51f45b6]0f63969]9acaa65]v3.28.0Compare Source
Patch Changes
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.29.0Compare Source
Patch Changes
d26840f]935e63f]b4c5a2d]a963d48]51f45b6]0f63969]9acaa65]v3.28.0Compare Source
Patch Changes
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.29.0Compare Source
Patch Changes
d26840f]935e63f]b4c5a2d]a963d48]51f45b6]0f63969]9acaa65]v3.28.0Compare Source
Patch Changes
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.29.0Compare Source
Patch Changes
48f25af: Fixed a bug where pressingArrowUpin a code block that is the first node in the document did nothing, leaving no way to insert content above it. A new default block is now inserted above the code block, mirroring the existingArrowDownbehavior. The behavior can be disabled via the newexitOnArrowUpoption.d26840f]e150ee0]935e63f]b4c5a2d]a963d48]51f45b6]0f63969]9acaa65]v3.28.0Compare Source
Patch Changes
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.29.0Compare Source
Patch Changes
d26840f]e150ee0]935e63f]48f25af]b4c5a2d]a963d48]51f45b6]0f63969]9acaa65]v3.28.0Compare Source
Patch Changes
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.29.0](https://redirect.github.com/ueberdosis/tiptap/blob/HEAD/packages/extensioConfiguration
📅 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.