Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/hocuspocus.server/docs/change-attribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ therefore identity churn rather than an edit.

Two things follow for anyone changing that file. Interning to integers is not a style choice: it
keeps the library's cheap prefix and suffix trim alive, which a fresh object per character
destroys. `@tiptap/pm` 3.31.3 declares `prosemirror-changeset: "^2.4.1"`. The root
override pins `2.4.1`. Version `2.4.2` halves `MAX_DIFF_SIZE` and bails on a whole-document
destroys. `@tiptap/pm` 3.32.0 declares `prosemirror-changeset: "^2.4.4"`. The root
override still pins `2.4.1`. Version `2.4.2` halves `MAX_DIFF_SIZE` and bails on a whole-document
range, so Compare would paint one change for any pad over about 2500 positions.

The block comparison on this side of the wire never had this blindness. `canonicalizeBlock` hashes
Expand Down
174 changes: 87 additions & 87 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Or use `pnpm add @docs.plus/extension-hyperlink`, `yarn add @docs.plus/extension

Use the matching package name from the table above (`@docs.plus/extension-hypermultimedia`, `@docs.plus/extension-indent`, and so on).

Requires **`@tiptap/core` ^3.31.3** and **`@tiptap/pm` ^3.31.3** (Tiptap 3.x).
Requires **`@tiptap/core` ^3.32.0** and **`@tiptap/pm` ^3.32.0** (Tiptap 3.x).

`extension-hyperlink` installs `@floating-ui/dom` and `linkifyjs`. `extension-hypermultimedia` installs `@floating-ui/dom`. The other three install with no runtime dependencies. None of the five declares a Node or Bun engine floor.

Expand Down
2 changes: 1 addition & 1 deletion extensions/extension-hyperlink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ npm install @docs.plus/extension-hyperlink

Or use `pnpm add @docs.plus/extension-hyperlink`, `yarn add @docs.plus/extension-hyperlink`, or `bun add @docs.plus/extension-hyperlink`.

Requires **`@tiptap/core` ^3.31.3** and **`@tiptap/pm` ^3.31.3** (Tiptap 3.x).
Requires **`@tiptap/core` ^3.32.0** and **`@tiptap/pm` ^3.32.0** (Tiptap 3.x).

This package imports no React, Vue, or Next.js code. Use it from a plain page, Vite, React, Vue, Svelte, Next.js, Nuxt, or SvelteKit. Create the editor in the browser.

Expand Down
6 changes: 3 additions & 3 deletions extensions/extension-hyperlink/examples/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"dependencies": {
"@docs.plus/extension-hyperlink": "^2.0.0",
"@tiptap/core": "^3.31.3",
"@tiptap/pm": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3"
"@tiptap/core": "^3.32.0",
"@tiptap/pm": "^3.32.0",
"@tiptap/starter-kit": "^3.32.0"
},
"devDependencies": {
"vite": "^8.3.0"
Expand Down
2 changes: 1 addition & 1 deletion extensions/extension-hypermultimedia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ npm install @docs.plus/extension-hypermultimedia

Or use `pnpm add @docs.plus/extension-hypermultimedia`, `yarn add @docs.plus/extension-hypermultimedia`, or `bun add @docs.plus/extension-hypermultimedia`.

Requires **`@tiptap/core` ^3.31.3** and **`@tiptap/pm` ^3.31.3** (Tiptap 3.x).
Requires **`@tiptap/core` ^3.32.0** and **`@tiptap/pm` ^3.32.0** (Tiptap 3.x).

This package imports no React, Vue, or Next.js code. Use it from a plain page, Vite, React, Vue, Svelte, Next.js, Nuxt, or SvelteKit. Create the editor in the browser.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('hyperlink marks on inline images', () => {
cy.getEditor().then((editor) => {
editor.chain().setNodeSelection(1).setHyperlink({ href: 'https://example.com' }).run()
})
cy.get('#editor a img').should('have.attr', 'src', IMAGE_URL)
cy.get('#editor a img:not(.ProseMirror-separator)').should('have.attr', 'src', IMAGE_URL)

cy.getEditor().then((editor) => {
editor
Expand All @@ -21,13 +21,13 @@ describe('hyperlink marks on inline images', () => {
editor.commands.setContent(editor.getHTML())
})
cy.get('#editor a').should('have.attr', 'href', 'https://changed.example')
cy.get('#editor a img').should('have.attr', 'src', IMAGE_URL)
cy.get('#editor a img:not(.ProseMirror-separator)').should('have.attr', 'src', IMAGE_URL)

cy.getEditor().then((editor) => {
editor.chain().setNodeSelection(1).unsetHyperlink().run()
})
cy.get('#editor a').should('not.exist')
cy.get('#editor img').should('have.attr', 'src', IMAGE_URL)
cy.get('#editor img:not(.ProseMirror-separator)').should('have.attr', 'src', IMAGE_URL)
})
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"dependencies": {
"@docs.plus/extension-hypermultimedia": "^2.0.0",
"@tiptap/core": "^3.31.3",
"@tiptap/pm": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3"
"@tiptap/core": "^3.32.0",
"@tiptap/pm": "^3.32.0",
"@tiptap/starter-kit": "^3.32.0"
},
"devDependencies": {
"vite": "^8.3.0"
Expand Down
2 changes: 1 addition & 1 deletion extensions/extension-indent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ npm install @docs.plus/extension-indent

Or use `pnpm add @docs.plus/extension-indent`, `yarn add @docs.plus/extension-indent`, or `bun add @docs.plus/extension-indent`.

Requires **`@tiptap/core` ^3.31.3** and **`@tiptap/pm` ^3.31.3** (Tiptap 3.x).
Requires **`@tiptap/core` ^3.32.0** and **`@tiptap/pm` ^3.32.0** (Tiptap 3.x).

This package imports no React, Vue, or Next.js code. Use it from a plain page, Vite, React, Vue, Svelte, Next.js, Nuxt, or SvelteKit. Create the editor in the browser.

Expand Down
6 changes: 3 additions & 3 deletions extensions/extension-indent/examples/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"dependencies": {
"@docs.plus/extension-indent": "^2.0.0",
"@tiptap/core": "^3.31.3",
"@tiptap/pm": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3"
"@tiptap/core": "^3.32.0",
"@tiptap/pm": "^3.32.0",
"@tiptap/starter-kit": "^3.32.0"
},
"devDependencies": {
"vite": "^8.3.0"
Expand Down
2 changes: 1 addition & 1 deletion extensions/extension-inline-code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ npm install @docs.plus/extension-inline-code

Or use `pnpm add @docs.plus/extension-inline-code`, `yarn add @docs.plus/extension-inline-code`, or `bun add @docs.plus/extension-inline-code`.

Requires **`@tiptap/core` ^3.31.3** and **`@tiptap/pm` ^3.31.3** (Tiptap 3.x).
Requires **`@tiptap/core` ^3.32.0** and **`@tiptap/pm` ^3.32.0** (Tiptap 3.x).

This package imports no React, Vue, or Next.js code. Use it from a plain page, Vite, React, Vue, Svelte, Next.js, Nuxt, or SvelteKit. Create the editor in the browser.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"dependencies": {
"@docs.plus/extension-inline-code": "^2.0.0",
"@tiptap/core": "^3.31.3",
"@tiptap/pm": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3"
"@tiptap/core": "^3.32.0",
"@tiptap/pm": "^3.32.0",
"@tiptap/starter-kit": "^3.32.0"
},
"devDependencies": {
"vite": "^8.3.0"
Expand Down
2 changes: 1 addition & 1 deletion extensions/extension-placeholder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ npm install @docs.plus/extension-placeholder

Or use `pnpm add @docs.plus/extension-placeholder`, `yarn add @docs.plus/extension-placeholder`, or `bun add @docs.plus/extension-placeholder`.

Requires **`@tiptap/core` ^3.31.3** and **`@tiptap/pm` ^3.31.3** (Tiptap 3.x).
Requires **`@tiptap/core` ^3.32.0** and **`@tiptap/pm` ^3.32.0** (Tiptap 3.x).

This package imports no React, Vue, or Next.js code. Use it from a plain page, Vite, React, Vue, Svelte, Next.js, Nuxt, or SvelteKit. Create the editor in the browser.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"dependencies": {
"@docs.plus/extension-placeholder": "^2.0.0",
"@tiptap/core": "^3.31.3",
"@tiptap/pm": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3"
"@tiptap/core": "^3.32.0",
"@tiptap/pm": "^3.32.0",
"@tiptap/starter-kit": "^3.32.0"
},
"devDependencies": {
"vite": "^8.3.0"
Expand Down
80 changes: 40 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"nanoid": "^3.3.17",
"deepmerge-ts": "8.0.1",
"browserslist": "^4.28.7",
"@tiptap/pm": "3.31.3",
"@tiptap/core": "3.31.3",
"@tiptap/starter-kit": "3.31.3",
"@tiptap/pm": "3.32.0",
"@tiptap/core": "3.32.0",
"@tiptap/starter-kit": "3.32.0",
"prosemirror-changeset": "2.4.1",
"prosemirror-model": "1.25.11",
"prosemirror-transform": "1.12.1",
"prosemirror-view": "1.42.3",
"prosemirror-model": "1.25.12",
"prosemirror-transform": "1.12.2",
"prosemirror-view": "1.42.6",
"source-map-js": "^1.2.2"
},
"prettier": "./.prettierrc.json",
Expand Down Expand Up @@ -151,40 +151,40 @@
"y-indexeddb": "^9.0.12",
"yjs": "^13.6.32",
"zustand": "^5.0.15",
"@tiptap/core": "^3.31.3",
"@tiptap/extension-blockquote": "^3.31.3",
"@tiptap/extension-bold": "^3.31.3",
"@tiptap/extension-code-block": "^3.31.3",
"@tiptap/extension-code-block-lowlight": "^3.31.3",
"@tiptap/extension-collaboration": "^3.31.3",
"@tiptap/extension-collaboration-caret": "^3.31.3",
"@tiptap/extension-document": "^3.31.3",
"@tiptap/extension-hard-break": "^3.31.3",
"@tiptap/extension-heading": "^3.31.3",
"@tiptap/extension-highlight": "^3.31.3",
"@tiptap/extension-image": "^3.31.3",
"@tiptap/extension-italic": "^3.31.3",
"@tiptap/extension-link": "^3.31.3",
"@tiptap/extension-list": "^3.31.3",
"@tiptap/extension-mention": "^3.31.3",
"@tiptap/extension-paragraph": "^3.31.3",
"@tiptap/extension-strike": "^3.31.3",
"@tiptap/extension-subscript": "^3.31.3",
"@tiptap/extension-superscript": "^3.31.3",
"@tiptap/extension-table": "^3.31.3",
"@tiptap/extension-text": "^3.31.3",
"@tiptap/extension-text-align": "^3.31.3",
"@tiptap/extension-typography": "^3.31.3",
"@tiptap/extension-underline": "^3.31.3",
"@tiptap/extension-unique-id": "^3.31.3",
"@tiptap/extensions": "^3.31.3",
"@tiptap/html": "^3.31.3",
"@tiptap/markdown": "^3.31.3",
"@tiptap/pm": "^3.31.3",
"@tiptap/react": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3",
"@tiptap/suggestion": "^3.31.3",
"@tiptap/y-tiptap": "^3.0.9",
"@tiptap/core": "^3.32.0",
"@tiptap/extension-blockquote": "^3.32.0",
"@tiptap/extension-bold": "^3.32.0",
"@tiptap/extension-code-block": "^3.32.0",
"@tiptap/extension-code-block-lowlight": "^3.32.0",
"@tiptap/extension-collaboration": "^3.32.0",
"@tiptap/extension-collaboration-caret": "^3.32.0",
"@tiptap/extension-document": "^3.32.0",
"@tiptap/extension-hard-break": "^3.32.0",
"@tiptap/extension-heading": "^3.32.0",
"@tiptap/extension-highlight": "^3.32.0",
"@tiptap/extension-image": "^3.32.0",
"@tiptap/extension-italic": "^3.32.0",
"@tiptap/extension-link": "^3.32.0",
"@tiptap/extension-list": "^3.32.0",
"@tiptap/extension-mention": "^3.32.0",
"@tiptap/extension-paragraph": "^3.32.0",
"@tiptap/extension-strike": "^3.32.0",
"@tiptap/extension-subscript": "^3.32.0",
"@tiptap/extension-superscript": "^3.32.0",
"@tiptap/extension-table": "^3.32.0",
"@tiptap/extension-text": "^3.32.0",
"@tiptap/extension-text-align": "^3.32.0",
"@tiptap/extension-typography": "^3.32.0",
"@tiptap/extension-underline": "^3.32.0",
"@tiptap/extension-unique-id": "^3.32.0",
"@tiptap/extensions": "^3.32.0",
"@tiptap/html": "^3.32.0",
"@tiptap/markdown": "^3.32.0",
"@tiptap/pm": "^3.32.0",
"@tiptap/react": "^3.32.0",
"@tiptap/starter-kit": "^3.32.0",
"@tiptap/suggestion": "^3.32.0",
"@tiptap/y-tiptap": "^3.0.10",
"@types/node": "^25.9.5",
"@typescript-eslint/eslint-plugin": "^8.71.1",
"@typescript-eslint/parser": "^8.71.1",
Expand Down
Loading