Publish a new pre-release version (pre) (#5322)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-07-10 11:45:05 +02:00 committed by GitHub
parent df5609cdff
commit 91d8f5898a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
109 changed files with 667 additions and 233 deletions

View File

@ -62,6 +62,7 @@
"brown-gorillas-draw",
"cuddly-socks-beg",
"five-tigers-kick",
"fresh-chefs-agree",
"mean-cooks-cheer",
"tasty-moons-move"
]

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/core",
"description": "headless rich text editor",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -32,10 +32,10 @@
"dist"
],
"devDependencies": {
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-blockquote",
"description": "blockquote extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-bold",
"description": "bold extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-bubble-menu",
"description": "bubble-menu extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -38,12 +38,12 @@
},
"sideEffects": false,
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"scripts": {
"clean": "rm -rf dist",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-bullet-list",
"description": "bullet list extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-character-count",
"description": "font family extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,13 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/extension-code-block@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-code-block-lowlight",
"description": "code block extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,14 +29,14 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/extension-code-block": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/extension-code-block": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/extension-code-block": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/extension-code-block": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-code-block",
"description": "code block extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-code",
"description": "code extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-collaboration-cursor",
"description": "collaboration cursor extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,11 +29,11 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/core": "^2.5.0-pre.14",
"y-prosemirror": "^1.2.6"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/core": "^2.5.0-pre.14",
"y-prosemirror": "^1.2.6"
},
"repository": {

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-collaboration",
"description": "collaboration extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,13 +29,13 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13",
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14",
"y-prosemirror": "^1.2.6"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13",
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14",
"y-prosemirror": "^1.2.6"
},
"repository": {

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/extension-text-style@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-color",
"description": "text color extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/extension-text-style": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/extension-text-style": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/extension-text-style": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/extension-text-style": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-document",
"description": "document extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-dropcursor",
"description": "dropcursor extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-floating-menu",
"description": "floating-menu extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"dependencies": {
"tippy.js": "^6.3.7"

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-focus",
"description": "focus extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/extension-text-style@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-font-family",
"description": "font family extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/extension-text-style": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/extension-text-style": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/extension-text-style": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/extension-text-style": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-gapcursor",
"description": "gapcursor extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-hard-break",
"description": "hard break extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-heading",
"description": "heading extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-highlight",
"description": "highlight extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-history",
"description": "history extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-horizontal-rule",
"description": "horizontal rule extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-image",
"description": "image extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-italic",
"description": "italic extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-link",
"description": "link extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -32,12 +32,12 @@
"linkifyjs": "^4.1.0"
},
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-list-item",
"description": "list item extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-list-keymap",
"description": "list keymap extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,13 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
- @tiptap/suggestion@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-mention",
"description": "mention extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,14 +29,14 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13",
"@tiptap/suggestion": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14",
"@tiptap/suggestion": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13",
"@tiptap/suggestion": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14",
"@tiptap/suggestion": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-ordered-list",
"description": "ordered list extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-paragraph",
"description": "paragraph extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-placeholder",
"description": "placeholder extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-strike",
"description": "strike extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-subscript",
"description": "subscript extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-superscript",
"description": "superscript extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-table-cell",
"description": "table cell extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-table-header",
"description": "table cell extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-table-row",
"description": "table row extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-table",
"description": "table extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-task-item",
"description": "task item extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-task-list",
"description": "task list extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-text-align",
"description": "text align extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-text-style",
"description": "text style extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-text",
"description": "text extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-typography",
"description": "typography extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-underline",
"description": "underline extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,11 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-youtube",
"description": "a youtube embed extension for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,10 +29,10 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14"
},
"repository": {
"type": "git",

View File

@ -1,5 +1,12 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- @tiptap/core@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/html",
"description": "utility package to render tiptap JSON as HTML",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@ -29,12 +29,12 @@
"dist"
],
"devDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"peerDependencies": {
"@tiptap/core": "^2.5.0-pre.13",
"@tiptap/pm": "^2.5.0-pre.13"
"@tiptap/core": "^2.5.0-pre.14",
"@tiptap/pm": "^2.5.0-pre.14"
},
"dependencies": {
"zeed-dom": "^0.10.9"

View File

@ -1,5 +1,7 @@
# Change Log
## 2.5.0-pre.14
## 2.5.0-pre.13
## 2.5.0-pre.12

View File

@ -1,7 +1,7 @@
{
"name": "@tiptap/pm",
"description": "prosemirror wrapper package for tiptap",
"version": "2.5.0-pre.13",
"version": "2.5.0-pre.14",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",

View File

@ -1,5 +1,78 @@
# Change Log
## 2.5.0-pre.14
### Patch Changes
- df5609c: We've heard a number of complaints around the performance of our React integration, and we finally have a solution that we believe will satisfy everyone. We've made a number of optimizations to how the editor is rendered, as well give you more control over the rendering process.
Here is a summary of the changes and how you can take advantage of them:
- SSR rendering was holding back our ability to have an editor instance on first render of `useEditor`. We've now made the default behavior to render the editor immediately on the client. This behavior can be controlled with the new `immediatelyRender` option which when set to `false` will defer rendering until the second render (via a useEffect), this should only be used when server-side rendering.
- The default behavior of the useEditor hook is to re-render the editor on every editor transaction. Now with the `shouldRerenderOnTransaction` option, you can disable this behavior to optimize performance. Instead, to access the new editor state, you can use the `useEditorState` hook.
- `useEditorState` this new hook allows you to select from the editor instance any state you need to render your UI. This is useful when you want to optimize performance by only re-rendering the parts of your UI that need to be updated.
Here is a usage example:
```jsx
const editor = useEditor({
/**
* This option gives us the control to enable the default behavior of rendering the editor immediately.
*/
immediatelyRender: true,
/**
* This option gives us the control to disable the default behavior of re-rendering the editor on every transaction.
*/
shouldRerenderOnTransaction: false,
extensions: [StarterKit],
content: `
<p>
A highly optimized editor that only re-renders when its necessary.
</p>
`,
});
/**
* This hook allows us to select the editor state we want to use in our component.
*/
const currentEditorState = useEditorState({
/**
* The editor instance we want to use.
*/
editor,
/**
* This selector allows us to select the data we want to use in our component.
* It is evaluated on every editor transaction and compared to it's previously returned value.
* You can return any data shape you want.
*/
selector: (ctx) => ({
isBold: ctx.editor.isActive("bold"),
isItalic: ctx.editor.isActive("italic"),
isStrike: ctx.editor.isActive("strike"),
}),
/**
* This function allows us to customize the equality check for the selector.
* By default it is a `===` check.
*/
equalityFn: (prev, next) => {
// A deep-equal function would probably be more maintainable here, but, we use a shallow one to show that it can be customized.
if (!next) {
return false;
}
return (
prev.isBold === next.isBold &&
prev.isItalic === next.isItalic &&
prev.isStrike === next.isStrike
);
},
});
```
- @tiptap/core@2.5.0-pre.14
- @tiptap/extension-bubble-menu@2.5.0-pre.14
- @tiptap/extension-floating-menu@2.5.0-pre.14
- @tiptap/pm@2.5.0-pre.14
## 2.5.0-pre.13
### Patch Changes

Some files were not shown because too many files have changed in this diff Show More