-
Notifications
You must be signed in to change notification settings - Fork 16
Update tiptap monorepo to v3 (major) #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-tiptap-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
|
32eeb68
to
425b1e8
Compare
7e1d51d
to
dadafad
Compare
28c2cc2
to
d57c3f8
Compare
d57c3f8
to
1a68222
Compare
3390723
to
ee2e9cc
Compare
ee2e9cc
to
55663a6
Compare
43edb0e
to
8d2cf80
Compare
06ff62d
to
571c3af
Compare
c74ad65
to
e8169f7
Compare
f318f21
to
ed4f5c9
Compare
0a78802
to
a93a54c
Compare
a93a54c
to
08a18a4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
^2.7.0
->^2.7.0 || ^3.0.0
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.2
->3.6.5
2.26.1
->3.6.5
Release Notes
ueberdosis/tiptap (@tiptap/core)
v3.6.5
Compare Source
Patch Changes
1e4caea
: Editors can now emittransaction
andupdate
events before being mounted.This means smoother state handling and instant feedback from editors, even when they're not in the DOM.
v3.6.4
Compare Source
Patch Changes
v3.6.3
Compare Source
Patch Changes
67f7b4a
: Refined theJSONContent.attrs
definition to exactly mirror the structure returned byeditor.getJSON()
. This ensures strict type safety and consistency between the editor output and the expected type, eliminating errors caused by mismatched attribute signatures.v3.6.2
Compare Source
Patch Changes
v3.6.1
Compare Source
Patch Changes
v3.6.0
Compare Source
Patch Changes
c0190bd
: Improve typing and docs forEditorOptions.element
to reflect all supported mounting modes and align behavior across adapters.element
now accepts:Element
: the editor is appended inside the given element.{ mount: HTMLElement }
: the editor is mounted directly tomount
(no extra wrapper).(editorEl: HTMLElement) => void
: a function that receives the editor element so you can place it anywhere in the DOM.null
: no automatic mounting.v3.5.3
Compare Source
Patch Changes
v3.5.2
Compare Source
Patch Changes
v3.5.1
Compare Source
Patch Changes
v3.5.0
Compare Source
Patch Changes
v3.4.6
Compare Source
Patch Changes
968016f
: Added support for theundoable
option in InputRules (matching ProseMirror’s implementation).false
, the change will not be tracked as undoable.true
for backward compatibility.This brings Tiptap’s InputRules behavior in line with ProseMirror and gives developers finer control over undo functionality.
v3.4.5
Compare Source
Patch Changes
0226d42
: Fix an issue where injected CSS was not mounted correctly when the editor instance was mounted. The fix ensures CSS injected by the editor is attached to the document when the editor mounts, preventing missing styles in some mount/unmount scenarios.37af83b
: refactor: replacemap(...).flat()
withflatMap
for simpler, more efficient array flatteningf598ac7
: Fix bug ininsertContentAt
command where extra content would get deleted when the selection was at the beginning of the document and a node was insertedv3.4.4
Compare Source
Patch Changes
00cf1d7
: Fix bug ininsertContentAt
command where extra content would get deleted when the selection was at the beginning of the document and a node was insertedv3.4.3
Compare Source
Patch Changes
1ea8906
: When the editor view is created, it now will also includenodeViews
andmarkViews
properties instead of setting them afterward. This avoids serialization of the editor state to HTML which will be replaced by node views anyway.v3.4.2
Compare Source
Patch Changes
v3.4.1
Compare Source
Patch Changes
v3.4.0
Compare Source
Minor Changes
ad51daa
: Addmount
andunmount
events to theEditor
instance for tracking mounts and unmountsPatch Changes
895c73f
: Fixcan().toggleMark()
returning incorrect result when cursor is inside nodes that disallow marksFixed an issue where
can().toggleMark('bold')
incorrectly returnedtrue
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 returnsfalse
in this scenario by checking if the parent node allows the mark type when the selection is a cursor.v3.3.1
Compare Source
Patch Changes
v3.3.0
Compare Source
Minor Changes
5423726
: Make input rules and paste rules respect extensionpriority
by registeringthem per-extension instead of aggregating them into a single global plugin.
v3.2.2
Compare Source
Patch Changes
v3.2.1
Patch Changes
6a2873f
: Ensure drag previews for node views work correctly in Safari by attachingan offscreen clone of the node to the DOM while calling
setDragImage
, and by preserving the original element's pixelwidth
/height
so the preview matches the original. This preventsSafari from immediately cancelling the drag when a detached element is
used as the drag image.
v3.2.0
Minor Changes
5056e3e
: Fix Editor.unmount() failing in test environments due to missing DOM remove() methodPatch Changes
v3.1.0
Compare Source
Patch Changes
v3.0.9
Compare Source
Patch Changes
v3.0.8
Compare Source
Patch Changes
v3.0.7
Compare Source
Patch Changes
v3.0.6
Compare Source
Patch Changes
2e71d05
: Fix: Fix broken types for function chaining when calling extendv3.0.5
Compare Source
Patch Changes
v3.0.4
Compare Source
Patch Changes
7ed03fa
: Fix: Add correct overload for extension extend types"v3.0.3
Compare Source
Patch Changes
75cabde
: Fix: Avoid the JSX Runtime to globally overwrite React's Element types when/** @​jsxImportSource @​tiptap/core */
is not usedv3.0.2
Compare Source
Patch Changes
v3.0.1
Compare Source
Major Changes
a92f4a6
: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds5e957e5
: This resolves in issue with SSR where the isDestroyed property could not be read while in SSR37913d5
:getPos
inNodeViewRendererProps
type now includesundefined
as possible return valueBefore
After
32958d6
:Node
,Mark
andExtension
config options now are strongly typed and do not allow arbitrary keys on the options object.To add keys, like when using
extendNodeSchema
orextendMarkSchema
, you can do this:12bb31a
:insertContent
andinsertContentAt
commands should not split text nodes like paragraphs into multiple nodes when the inserted content is at the beginning of the text to avoid empty nodes being created062afaf
:clearContent
command defaults to emitting updates now062afaf
: Change signature ofsetContent
command to(content, options)
and default to emitting updates32958d6
:editor.storage
is now strongly typedStorage
instances, using a similar pattern as commands, where you can define the type of the storage value using namespaces like:32958d6
:editor.storage
is instantiated per editor rather than per extension.Previously, the storage value was a singleton per extension instance, this caused strange bugs when using multiple editor instances on a single page.
Now, storage instances are per editor instance, so changing the value on one
editor.storage
instance will not affect another editor's value.Minor Changes
8de8e13
: The editor instance now supports anunmount
method which allows for mounting and unmounting the editor to the DOM. This encourages re-use of editor instances by preserving all the same options between instances. This is different from thedestroy
method, which will unmount, emit thedestroy
event, and remove all event listeners.d0fda30
: Add config option to emit content error when content check is disabled0e3207f
: Add support for markviews, which allow you to render custom views for marks within the editor. This is useful for rendering custom UI for marks, like a color picker for a text color mark or a link editor for a link mark.Here is a plain JS markview example:
v3.0.0
Compare Source
Patch Changes
ueberdosis/tiptap (@tiptap/extension-highlight)
v3.6.5
Compare Source
Patch Changes
1e4caea
]v3.6.4
Compare Source
Patch Changes
v3.6.3
Compare Source
Patch Changes
67f7b4a
]v3.6.2
Compare Source
Patch Changes
v3.6.1
Compare Source
Patch Changes
v3.6.0
Compare Source
Patch Changes
c0190bd
]v3.5.3
Compare Source
Patch Changes
v3.5.2
Compare Source
Patch Changes
v3.5.1
Compare Source
Patch Changes
v3.5.0
Compare Source
Patch Changes
v3.4.6
Compare Source
Patch Changes
968016f
]v3.4.5
Compare Source
Patch Changes
0226d42
]37af83b
]f598ac7
]v3.4.4
Compare Source
Patch Changes
00cf1d7
]v3.4.3
Compare Source
Patch Changes
1ea8906
]v3.4.2
Compare Source
Patch Changes
v3.4.1
Compare Source
Patch Changes
v3.4.0
Compare Source
Patch Changes
895c73f
]ad51daa
]v3.3.1
Compare Source
Patch Changes
v3.3.0
Compare Source
Patch Changes
5423726
]5423726
]v3.2.2
Compare Source
Patch Changes
v3.2.1
Patch Changes
6a2873f
]v3.2.0
Patch Changes
5056e3e
]v3.1.0
Compare Source
Patch Changes
v3.0.9
Compare Source
Patch Changes
v3.0.8
Compare Source
Patch Changes
v3.0.7
Compare Source
Patch Changes
v3.0.6
Compare Source
Patch Changes
2e71d05
]v3.0.5
Compare Source
Patch Changes
v3.0.4
Compare Source
Patch Changes
7ed03fa
]v3.0.3
Compare Source
Patch Changes
75cabde
]v3.0.2
Compare Source
Patch Changes
v3.0.1
Compare Source
Major Changes
a92f4a6
: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD buildsPatch Changes
1b4c82b
: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository89bd9c7
: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory8c69002
: Synced beta with stable features1b4c82b
]a92f4a6
]8de8e13
]20f68f6
]5e957e5
]89bd9c7
]d0fda30
]0e3207f
]37913d5
]28c5418
]32958d6
]12bb31a
]9f207a6
]412e1bd
]062afaf
]ff8eed6
]704f462
]95b8c71
]8c69002
]664834f
]ac897e7
]087d114
]32958d6
]fc17b21
]e20006b
]5ba480b
]d6c7558
]062afaf
]9ceeab4
]32958d6
]bf835b0
]4e2f6d8
]32958d6
]v3.0.0
Compare Source
Patch Changes
ueberdosis/tiptap (@tiptap/extension-image)
v3.6.5
Compare Source
Patch Changes
1e4caea
]v3.6.4
Compare Source
Patch Changes
v3.6.3
Compare Source
Patch Changes
67f7b4a
]v3.6.2
Compare Source
Patch Changes
v3.6.1
Compare Source
Patch Changes
v3.6.0
Compare Source
Patch Changes
c0190bd
]v3.5.3
Compare Source
Patch Changes
v3.5.2
Compare Source
Patch Changes
v3.5.1
Compare Source
Patch Changes
v3.5.0
Compare Source
Patch Changes
v3.4.6
Compare Source
Patch Changes
968016f
]v3.4.5
Compare Source
Patch Changes
0226d42
]37af83b
]f598ac7
]v3.4.4
Compare Source
Patch Changes
00cf1d7
]v3.4.3
Compare Source
Patch Changes
1ea8906
]v3.4.2
Compare Source
Patch Changes
v3.4.1
Compare Source
Patch Changes
v3.4.0
Compare Source
Patch Changes
895c73f
]ad51daa
]v3.3.1
Compare Source
Patch Changes
v3.3.0
Compare Source
Patch Changes
5423726
]5423726
]v3.2.2
Compare Source
Patch Changes
v3.2.1
Patch Changes
6a2873f
]v3.2.0
Patch Changes
5056e3e
]v3.1.0
Compare Source
Patch Changes
v3.0.9
Compare Source
Patch Changes
v3.0.8
Compare Source
Patch Changes
v3.0.7
Compare Source
Patch Changes
v3.0.6
Compare Source
Patch Changes
2e71d05
]v3.0.5
Compare Source
Patch Changes
v3.0.4
Compare Source
Patch Changes
7ed03fa
]v3.0.3
Compare Source
Patch Changes
75cabde
]v3.0.2
Compare Source
Patch Changes
v3.0.1
Compare Source
Major Changes
a92f4a6
: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD buildsMinor Changes
d230f7e
: Add width and height attributes to Image nodePatch Changes
1b4c82b
: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository89bd9c7
: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory8c69002
: Synced beta with stable features1b4c82b
]a92f4a6
]8de8e13
]20f68f6
]5e957e5
]89bd9c7
]d0fda30
]0e3207f
]37913d5
]28c5418
]32958d6
]12bb31a
]9f207a6
]412e1bd
]062afaf
]ff8eed6
]704f462
]95b8c71
]8c69002
]664834f
]ac897e7
]087d114
]32958d6
]fc17b21
]e20006b
]5ba480b
]d6c7558
]062afaf
]9ceeab4
]32958d6
]bf835b0
]4e2f6d8
]32958d6
](https://redirect.github.com/ueberdosisConfiguration
📅 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.