-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Publish a new pre-release version (next) #6012
base: next
Are you sure you want to change the base?
Conversation
f51d0f7
to
1a271f8
Compare
✅ Deploy Preview for tiptap-embed ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
1a271f8
to
3e79e05
Compare
3e79e05
to
317bc60
Compare
Accidentally published tiptap v3 as next when it is meant to be a pre-release. But, you 100% should be pinning your version so that this does not occur again |
Thanks. Just did that this morning. Thanks for all the work on this you've done to date. Any chance columns are in the plans? I know there's some custom extensions out there but I was curious if there was anything more official coming.
Sean Morris
SENIOR GRAPHIC DESIGNER
(708) 921-0244 Direct
(224) 400-4022 Office
VERB.DIGITAL
…On Jan 11, 2025 at 4:55 AM -0600, Nick Perez ***@***.***>, wrote:
Accidentally published tiptap v3 as next when it is meant to be a pre-release. But, you 100% should be pinning your version so that this does not occur again
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
ac5096d
to
88b35c4
Compare
6fbd950
to
ecaa28d
Compare
No plans for columns at the moment, maybe in a future version. V3 is already ambitious enough |
153cfd1
to
05f60c0
Compare
05f60c0
to
8627887
Compare
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.
next
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onnext
.Releases
@tiptap/[email protected]
Major Changes
clearContent
command defaults to emitting updates nowsetContent
command to(content, options)
and default to emitting updatesMinor Changes
0e3207f: 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:
React binding
To use a React component for a markview, you can use the
@tiptap/react
package:And here is an example of a React component:
Vue 3 binding
To use a Vue 3 component for a markview, you can use the
@tiptap/vue-3
package:And here is an example of a Vue 3 component:
28c5418: Adds a new
delete
event which can detect content which has been deleted by the editor as a core extension704f462: This introduces a new behavior for the editor, the ability to be safely run on the server-side (without rendering).
prosemirror-view
encapsulates all view (& DOM) related code, and cannot safely be SSR'd, but, the majority of the editor instance itself is in plain JS that does not require DOM APIs (unless your content is specified in HTML).But, we have so many convenient methods available for manipulating content. So, it is a shame that they could not be used on the server side too. With this change, the editor can be rendered on the server-side and will use a stub for select prosemirror-view methods. If accessing unsupported methods or values on the
editor.view
, you will encounter runtime errors, so it is important for you to test to see if the methods you call actually work.This is a step towards being able to server-side render content, but, it is not completely supported yet. This does not mean that you can render an editor instance on the server and expect it to just output any HTML.
Usage
If you pass
element: null
to your editor options:editor.view
will not be initialized'create'
eventYou can however, later use the new
mount
function on the instance, which will mount the editor view to a DOM element. This obviously will not be allowed on the server which has no document object.Therefore, this will work on the server:
Any of these things will not work on the server, and result in a runtime error:
@tiptap/[email protected]
Major Changes
2c911d2: This adds all of the list packages to the
@tiptap/extension-list
package.ListKit
The
ListKit
export allows configuring all list extensions with one extension, and is the recommended way of using the list extensions.List repackaging
Since we've moved the code out of the list extensions to the
@tiptap/extension-list
package, you can remove the following packages from your project:And replace them with the new
@tiptap/extension-list
package:Want to use the extensions separately?
For more control, you can also use the extensions separately.
BulletList
This extension adds a bullet list to the editor.
Migrate from
@tiptap/extension-bullet-list
to@tiptap/extension-list
:Usage:
OrderedList
This extension adds an ordered list to the editor.
Migrate from
@tiptap/extension-ordered-list
to@tiptap/extension-list
:Usage:
ListItem
This extension adds a list item to the editor.
Migrate from
@tiptap/extension-list-item
to@tiptap/extension-list
:Usage:
TaskList
This extension adds a task list to the editor.
Migrate from
@tiptap/extension-task-list
to@tiptap/extension-list
:Usage:
TaskItem
This extension adds a task item to the editor.
Migrate from
@tiptap/extension-task-item
to@tiptap/extension-list
:Usage:
ListKeymap
This extension adds better default keybindings for lists to the editor.
Migrate from
@tiptap/extension-list-keymap
to@tiptap/extension-list
:Usage:
@tiptap/[email protected]
Major Changes
2c911d2: This adds all of the list packages to the
@tiptap/extension-list
package.ListKit
The
ListKit
export allows configuring all list extensions with one extension, and is the recommended way of using the list extensions.List repackaging
Since we've moved the code out of the list extensions to the
@tiptap/extension-list
package, you can remove the following packages from your project:And replace them with the new
@tiptap/extension-list
package:Want to use the extensions separately?
For more control, you can also use the extensions separately.
BulletList
This extension adds a bullet list to the editor.
Migrate from
@tiptap/extension-bullet-list
to@tiptap/extension-list
:Usage:
OrderedList
This extension adds an ordered list to the editor.
Migrate from
@tiptap/extension-ordered-list
to@tiptap/extension-list
:Usage:
ListItem
This extension adds a list item to the editor.
Migrate from
@tiptap/extension-list-item
to@tiptap/extension-list
:Usage:
TaskList
This extension adds a task list to the editor.
Migrate from
@tiptap/extension-task-list
to@tiptap/extension-list
:Usage:
TaskItem
This extension adds a task item to the editor.
Migrate from
@tiptap/extension-task-item
to@tiptap/extension-list
:Usage:
ListKeymap
This extension adds better default keybindings for lists to the editor.
Migrate from
@tiptap/extension-list-keymap
to@tiptap/extension-list
:Usage:
@tiptap/[email protected]
Major Changes
2c911d2: This adds all of the list packages to the
@tiptap/extension-list
package.ListKit
The
ListKit
export allows configuring all list extensions with one extension, and is the recommended way of using the list extensions.List repackaging
Since we've moved the code out of the list extensions to the
@tiptap/extension-list
package, you can remove the following packages from your project:And replace them with the new
@tiptap/extension-list
package:Want to use the extensions separately?
For more control, you can also use the extensions separately.
BulletList
This extension adds a bullet list to the editor.
Migrate from
@tiptap/extension-bullet-list
to@tiptap/extension-list
:Usage:
OrderedList
This extension adds an ordered list to the editor.
Migrate from
@tiptap/extension-ordered-list
to@tiptap/extension-list
:Usage:
ListItem
This extension adds a list item to the editor.
Migrate from
@tiptap/extension-list-item
to@tiptap/extension-list
:Usage:
TaskList
This extension adds a task list to the editor.
Migrate from
@tiptap/extension-task-list
to@tiptap/extension-list
:Usage:
TaskItem
This extension adds a task item to the editor.
Migrate from
@tiptap/extension-task-item
to@tiptap/extension-list
:Usage:
ListKeymap
This extension adds better default keybindings for lists to the editor.
Migrate from
@tiptap/extension-list-keymap
to@tiptap/extension-list
:Usage:
@tiptap/[email protected]
Major Changes
2c911d2: This adds all of the list packages to the
@tiptap/extension-list
package.ListKit
The
ListKit
export allows configuring all list extensions with one extension, and is the recommended way of using the list extensions.List repackaging
Since we've moved the code out of the list extensions to the
@tiptap/extension-list
package, you can remove the following packages from your project:And replace them with the new
@tiptap/extension-list
package:Want to use the extensions separately?
For more control, you can also use the extensions separately.
BulletList
This extension adds a bullet list to the editor.
Migrate from
@tiptap/extension-bullet-list
to@tiptap/extension-list
:Usage:
OrderedList
This extension adds an ordered list to the editor.
Migrate from
@tiptap/extension-ordered-list
to@tiptap/extension-list
:Usage:
ListItem
This extension adds a list item to the editor.
Migrate from
@tiptap/extension-list-item
to@tiptap/extension-list
:Usage:
TaskList
This extension adds a task list to the editor.
Migrate from
@tiptap/extension-task-list
to@tiptap/extension-list
:Usage:
TaskItem
This extension adds a task item to the editor.
Migrate from
@tiptap/extension-task-item
to@tiptap/extension-list
:Usage:
ListKeymap
This extension adds better default keybindings for lists to the editor.
Migrate from
@tiptap/extension-list-keymap
to@tiptap/extension-list
:Usage:
@tiptap/[email protected]
Major Changes
2c911d2: This adds all of the list packages to the
@tiptap/extension-list
package.ListKit
The
ListKit
export allows configuring all list extensions with one extension, and is the recommended way of using the list extensions.List repackaging
Since we've moved the code out of the list extensions to the
@tiptap/extension-list
package, you can remove the following packages from your project:And replace them with the new
@tiptap/extension-list
package:Want to use the extensions separately?
For more control, you can also use the extensions separately.
BulletList
This extension adds a bullet list to the editor.
Migrate from
@tiptap/extension-bullet-list
to@tiptap/extension-list
:Usage:
OrderedList
This extension adds an ordered list to the editor.
Migrate from
@tiptap/extension-ordered-list
to@tiptap/extension-list
:Usage:
ListItem
This extension adds a list item to the editor.
Migrate from
@tiptap/extension-list-item
to@tiptap/extension-list
:Usage:
TaskList
This extension adds a task list to the editor.
Migrate from
@tiptap/extension-task-list
to@tiptap/extension-list
:Usage:
TaskItem
This extension adds a task item to the editor.
Migrate from
@tiptap/extension-task-item
to@tiptap/extension-list
:Usage:
ListKeymap
This extension adds better default keybindings for lists to the editor.
Migrate from
@tiptap/extension-list-keymap
to@tiptap/extension-list
:Usage:
@tiptap/[email protected]
Minor Changes
mergeNestedSpanStyles
totrue
, this will attempt to merge the styles of nested spans into the child span during HTML parsing. This prioritizes the style of the child span. This is used when parsing content created in other editors. (Fix for ProseMirror's default behavior.)@tiptap/[email protected]
Minor Changes
0e3207f: 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:
React binding
To use a React component for a markview, you can use the
@tiptap/react
package:And here is an example of a React component:
Vue 3 binding
To use a Vue 3 component for a markview, you can use the
@tiptap/vue-3
package:And here is an example of a Vue 3 component:
@tiptap/[email protected]
Minor Changes
0e3207f: 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:
React binding
To use a React component for a markview, you can use the
@tiptap/react
package:And here is an example of a React component:
Vue 3 binding
To use a Vue 3 component for a markview, you can use the
@tiptap/vue-3
package:And here is an example of a Vue 3 component:
@tiptap/[email protected]
Patch Changes
@tiptap/[email protected]
Patch Changes
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]
@tiptap/[email protected]