mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +08:00
Merge branch 'next' of github.com:ueberdosis/tiptap into feature/decorations-api
This commit is contained in:
commit
2dfabbdba8
62
.changeset/beige-llamas-shout.md
Normal file
62
.changeset/beige-llamas-shout.md
Normal file
@ -0,0 +1,62 @@
|
||||
---
|
||||
'@tiptap/extension-character-count': patch
|
||||
'@tiptap/extension-table-header': patch
|
||||
'@tiptap/extension-list-keymap': patch
|
||||
'@tiptap/extension-placeholder': patch
|
||||
'@tiptap/extension-dropcursor': patch
|
||||
'@tiptap/extension-table-cell': patch
|
||||
'@tiptap/extension-gapcursor': patch
|
||||
'@tiptap/extension-list-item': patch
|
||||
'@tiptap/extension-table-row': patch
|
||||
'@tiptap/extension-task-item': patch
|
||||
'@tiptap/extension-task-list': patch
|
||||
'@tiptap/extension-code-block-lowlight': patch
|
||||
'@tiptap/extension-collaboration-caret': patch
|
||||
'@tiptap/extension-history': patch
|
||||
'@tiptap/extension-focus': patch
|
||||
'@tiptap/extension-horizontal-rule': patch
|
||||
'tiptap-2-migrate-imports': patch
|
||||
'@tiptap/extension-collaboration': patch
|
||||
'@tiptap/extension-floating-menu': patch
|
||||
'@tiptap/extension-ordered-list': patch
|
||||
'@tiptap/extension-bubble-menu': patch
|
||||
'@tiptap/extension-bullet-list': patch
|
||||
'@tiptap/extension-font-family': patch
|
||||
'@tiptap/extension-superscript': patch
|
||||
'@tiptap/extension-blockquote': patch
|
||||
'@tiptap/extension-code-block': patch
|
||||
'@tiptap/extension-hard-break': patch
|
||||
'@tiptap/extension-text-align': patch
|
||||
'@tiptap/extension-text-style': patch
|
||||
'@tiptap/extension-typography': patch
|
||||
'@tiptap/extension-highlight': patch
|
||||
'@tiptap/extension-paragraph': patch
|
||||
'@tiptap/extension-subscript': patch
|
||||
'@tiptap/extension-underline': patch
|
||||
'@tiptap/extension-document': patch
|
||||
'@tiptap/extension-heading': patch
|
||||
'@tiptap/extension-mention': patch
|
||||
'@tiptap/extension-youtube': patch
|
||||
'@tiptap/extension-italic': patch
|
||||
'@tiptap/extension-strike': patch
|
||||
'@tiptap/extension-color': patch
|
||||
'@tiptap/extension-image': patch
|
||||
'@tiptap/extension-table': patch
|
||||
'@tiptap/static-renderer': patch
|
||||
'@tiptap/extension-bold': patch
|
||||
'@tiptap/extension-code': patch
|
||||
'@tiptap/extension-link': patch
|
||||
'@tiptap/extension-list': patch
|
||||
'@tiptap/extension-text': patch
|
||||
'@tiptap/starter-kit': patch
|
||||
'@tiptap/extensions': patch
|
||||
'@tiptap/suggestion': patch
|
||||
'@tiptap/react': patch
|
||||
'@tiptap/vue-2': patch
|
||||
'@tiptap/vue-3': patch
|
||||
'@tiptap/core': patch
|
||||
'@tiptap/html': patch
|
||||
'@tiptap/pm': patch
|
||||
---
|
||||
|
||||
We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
5
.changeset/chilled-candles-design.md
Normal file
5
.changeset/chilled-candles-design.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@tiptap/pm': patch
|
||||
---
|
||||
|
||||
Fix prosemirror history build
|
5
.changeset/clever-bags-end.md
Normal file
5
.changeset/clever-bags-end.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@tiptap/core': minor
|
||||
---
|
||||
|
||||
The editor instance now supports an `unmount` 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 the `destroy` method, which will unmount, emit the `destroy` event, and remove all event listeners.
|
5
.changeset/cool-singers-call.md
Normal file
5
.changeset/cool-singers-call.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@tiptap/core': major
|
||||
---
|
||||
|
||||
This resolves in issue with SSR where the isDestroyed property could not be read while in SSR
|
5
.changeset/fast-foxes-mate.md
Normal file
5
.changeset/fast-foxes-mate.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/extension-table": patch
|
||||
---
|
||||
|
||||
Added new export for TableView class
|
5
.changeset/olive-jeans-love.md
Normal file
5
.changeset/olive-jeans-love.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/vue-2": major
|
||||
---
|
||||
|
||||
VueNodeViewRenderer should return `null` for `contentDOM` for a non-leaf node with no `NodeViewContent`
|
5
.changeset/popular-geckos-pay.md
Normal file
5
.changeset/popular-geckos-pay.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/extension-link": patch
|
||||
---
|
||||
|
||||
Fixed links with marks not registering click events correctly
|
@ -1,97 +1,109 @@
|
||||
{
|
||||
"mode": "pre",
|
||||
"tag": "next",
|
||||
"tag": "beta",
|
||||
"initialVersions": {
|
||||
"tiptap-demos": "2.5.1",
|
||||
"@tiptap/core": "2.11.4",
|
||||
"@tiptap/extension-blockquote": "2.11.4",
|
||||
"@tiptap/extension-bold": "2.11.4",
|
||||
"@tiptap/extension-bubble-menu": "2.11.4",
|
||||
"@tiptap/extension-bullet-list": "2.11.4",
|
||||
"@tiptap/extension-character-count": "2.11.4",
|
||||
"@tiptap/extension-code": "2.11.4",
|
||||
"@tiptap/extension-code-block": "2.11.4",
|
||||
"@tiptap/extension-code-block-lowlight": "2.11.4",
|
||||
"@tiptap/extension-collaboration": "2.11.4",
|
||||
"@tiptap/extension-collaboration-caret": "2.11.4",
|
||||
"@tiptap/extension-color": "2.11.4",
|
||||
"@tiptap/extension-document": "2.11.4",
|
||||
"@tiptap/extension-dropcursor": "2.11.4",
|
||||
"@tiptap/extension-floating-menu": "2.11.4",
|
||||
"@tiptap/extension-focus": "2.11.4",
|
||||
"@tiptap/extension-font-family": "2.11.4",
|
||||
"@tiptap/extension-gapcursor": "2.11.4",
|
||||
"@tiptap/extension-hard-break": "2.11.4",
|
||||
"@tiptap/extension-heading": "2.11.4",
|
||||
"@tiptap/extension-highlight": "2.11.4",
|
||||
"@tiptap/extension-history": "2.11.4",
|
||||
"@tiptap/extension-horizontal-rule": "2.11.4",
|
||||
"@tiptap/extension-image": "2.11.4",
|
||||
"@tiptap/extension-italic": "2.11.4",
|
||||
"@tiptap/extension-link": "2.11.4",
|
||||
"@tiptap/extension-list-item": "2.11.4",
|
||||
"@tiptap/extension-list-keymap": "2.11.4",
|
||||
"@tiptap/extension-mention": "2.11.4",
|
||||
"@tiptap/extension-ordered-list": "2.11.4",
|
||||
"@tiptap/extension-paragraph": "2.11.4",
|
||||
"@tiptap/extension-placeholder": "2.11.4",
|
||||
"@tiptap/extension-strike": "2.11.4",
|
||||
"@tiptap/extension-subscript": "2.11.4",
|
||||
"@tiptap/extension-superscript": "2.11.4",
|
||||
"@tiptap/extension-table": "2.11.4",
|
||||
"@tiptap/extension-table-cell": "2.11.4",
|
||||
"@tiptap/extension-table-header": "2.11.4",
|
||||
"@tiptap/extension-table-row": "2.11.4",
|
||||
"@tiptap/extension-task-item": "2.11.4",
|
||||
"@tiptap/extension-task-list": "2.11.4",
|
||||
"@tiptap/extension-text": "2.11.4",
|
||||
"@tiptap/extension-text-align": "2.11.4",
|
||||
"@tiptap/extension-text-style": "2.11.4",
|
||||
"@tiptap/extension-typography": "2.11.4",
|
||||
"@tiptap/extension-underline": "2.11.4",
|
||||
"@tiptap/extension-youtube": "2.11.4",
|
||||
"@tiptap/html": "2.11.4",
|
||||
"@tiptap/pm": "2.11.4",
|
||||
"@tiptap/react": "2.11.4",
|
||||
"@tiptap/starter-kit": "2.11.4",
|
||||
"@tiptap/suggestion": "2.11.4",
|
||||
"@tiptap/vue-2": "2.11.4",
|
||||
"@tiptap/vue-3": "2.11.4",
|
||||
"@tiptap-shared/rollup-config": "1.0.0",
|
||||
"tiptap-2-migrate-imports": "1.0.0",
|
||||
"@tiptap/extension-list": "3.0.0-next.5",
|
||||
"@tiptap/extensions": "3.0.0-next.5",
|
||||
"@tiptap/static-renderer": "3.0.0-next.5"
|
||||
"tiptap-2-migrate-imports": "1.0.1-beta.0",
|
||||
"tiptap-demos": "3.0.0-beta.0",
|
||||
"@tiptap/extension-character-count": "3.0.0-beta.0",
|
||||
"@tiptap/extension-dropcursor": "3.0.0-beta.0",
|
||||
"@tiptap/extension-focus": "3.0.0-beta.0",
|
||||
"@tiptap/extension-gapcursor": "3.0.0-beta.0",
|
||||
"@tiptap/extension-history": "3.0.0-beta.0",
|
||||
"@tiptap/extension-list-item": "3.0.0-beta.0",
|
||||
"@tiptap/extension-list-keymap": "3.0.0-beta.0",
|
||||
"@tiptap/extension-placeholder": "3.0.0-beta.0",
|
||||
"@tiptap/extension-table-cell": "3.0.0-beta.0",
|
||||
"@tiptap/extension-table-header": "3.0.0-beta.0",
|
||||
"@tiptap/extension-table-row": "3.0.0-beta.0",
|
||||
"@tiptap/extension-task-item": "3.0.0-beta.0",
|
||||
"@tiptap/extension-task-list": "3.0.0-beta.0",
|
||||
"@tiptap/core": "3.0.0-beta.0",
|
||||
"@tiptap/extension-blockquote": "3.0.0-beta.0",
|
||||
"@tiptap/extension-bold": "3.0.0-beta.0",
|
||||
"@tiptap/extension-bubble-menu": "3.0.0-beta.0",
|
||||
"@tiptap/extension-bullet-list": "3.0.0-beta.0",
|
||||
"@tiptap/extension-code": "3.0.0-beta.0",
|
||||
"@tiptap/extension-code-block": "3.0.0-beta.0",
|
||||
"@tiptap/extension-code-block-lowlight": "3.0.0-beta.0",
|
||||
"@tiptap/extension-collaboration": "3.0.0-beta.0",
|
||||
"@tiptap/extension-collaboration-caret": "3.0.0-beta.0",
|
||||
"@tiptap/extension-color": "3.0.0-beta.0",
|
||||
"@tiptap/extension-document": "3.0.0-beta.0",
|
||||
"@tiptap/extension-floating-menu": "3.0.0-beta.0",
|
||||
"@tiptap/extension-font-family": "3.0.0-beta.0",
|
||||
"@tiptap/extension-hard-break": "3.0.0-beta.0",
|
||||
"@tiptap/extension-heading": "3.0.0-beta.0",
|
||||
"@tiptap/extension-highlight": "3.0.0-beta.0",
|
||||
"@tiptap/extension-horizontal-rule": "3.0.0-beta.0",
|
||||
"@tiptap/extension-image": "3.0.0-beta.0",
|
||||
"@tiptap/extension-italic": "3.0.0-beta.0",
|
||||
"@tiptap/extension-link": "3.0.0-beta.0",
|
||||
"@tiptap/extension-list": "3.0.0-beta.0",
|
||||
"@tiptap/extension-mention": "3.0.0-beta.0",
|
||||
"@tiptap/extension-ordered-list": "3.0.0-beta.0",
|
||||
"@tiptap/extension-paragraph": "3.0.0-beta.0",
|
||||
"@tiptap/extension-strike": "3.0.0-beta.0",
|
||||
"@tiptap/extension-subscript": "3.0.0-beta.0",
|
||||
"@tiptap/extension-superscript": "3.0.0-beta.0",
|
||||
"@tiptap/extension-table": "3.0.0-beta.0",
|
||||
"@tiptap/extension-text": "3.0.0-beta.0",
|
||||
"@tiptap/extension-text-align": "3.0.0-beta.0",
|
||||
"@tiptap/extension-text-style": "3.0.0-beta.0",
|
||||
"@tiptap/extension-typography": "3.0.0-beta.0",
|
||||
"@tiptap/extension-underline": "3.0.0-beta.0",
|
||||
"@tiptap/extension-youtube": "3.0.0-beta.0",
|
||||
"@tiptap/extensions": "3.0.0-beta.0",
|
||||
"@tiptap/html": "3.0.0-beta.0",
|
||||
"@tiptap/pm": "3.0.0-beta.0",
|
||||
"@tiptap/react": "3.0.0-beta.0",
|
||||
"@tiptap/starter-kit": "3.0.0-beta.0",
|
||||
"@tiptap/static-renderer": "3.0.0-beta.0",
|
||||
"@tiptap/suggestion": "3.0.0-beta.0",
|
||||
"@tiptap/vue-2": "3.0.0-beta.0",
|
||||
"@tiptap/vue-3": "3.0.0-beta.0"
|
||||
},
|
||||
"changesets": [
|
||||
"beige-llamas-shout",
|
||||
"big-wolves-design",
|
||||
"blue-shrimps-rush",
|
||||
"chilled-candles-design",
|
||||
"chilled-trees-agree",
|
||||
"chilly-lemons-remember",
|
||||
"clever-bags-end",
|
||||
"cool-bananas-breathe",
|
||||
"cuddly-impalas-heal",
|
||||
"curly-adults-move",
|
||||
"dirty-bats-look",
|
||||
"dirty-colts-shave",
|
||||
"eighty-gifts-matter",
|
||||
"fair-jars-shout",
|
||||
"fast-foxes-mate",
|
||||
"gold-ads-own",
|
||||
"green-wolves-arrive",
|
||||
"healthy-pigs-work",
|
||||
"large-kangaroos-battle",
|
||||
"lazy-needles-train",
|
||||
"many-laws-vanish",
|
||||
"moody-geckos-sort",
|
||||
"nervous-hairs-walk",
|
||||
"olive-jeans-love",
|
||||
"orange-spoons-rescue",
|
||||
"perfect-rice-vanish",
|
||||
"popular-geckos-pay",
|
||||
"quick-days-matter",
|
||||
"red-ants-wonder",
|
||||
"red-rivers-exist",
|
||||
"seven-llamas-love",
|
||||
"shaggy-hats-rescue",
|
||||
"shiny-days-rhyme",
|
||||
"sixty-news-ring",
|
||||
"smooth-carrots-beam",
|
||||
"tame-worms-applaud",
|
||||
"thirty-rockets-act",
|
||||
"tidy-fireants-hang",
|
||||
"twenty-moose-invent",
|
||||
"weak-books-eat",
|
||||
"wise-carpets-unite",
|
||||
"witty-eels-cheer"
|
||||
]
|
||||
}
|
||||
|
5
.changeset/shiny-days-rhyme.md
Normal file
5
.changeset/shiny-days-rhyme.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/core": patch
|
||||
---
|
||||
|
||||
Clone dragged node before dragging to get correct drag preview image
|
5
.changeset/smooth-carrots-beam.md
Normal file
5
.changeset/smooth-carrots-beam.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@tiptap/extensions': minor
|
||||
---
|
||||
|
||||
skip decorations for node selection and non editable editor
|
@ -2,4 +2,4 @@
|
||||
'@tiptap/extension-history': major
|
||||
---
|
||||
|
||||
Rename history extension to history to clarify it's functionality and separate itself from other history-related extensions.
|
||||
Pointed old `extension-history` extension as a fallback extension to the new `@tiptap/extensions` package where the old history extension is now exported from as `UndoRedo` to clarify what kind of history this extension is implementing.
|
||||
|
5
.changeset/wise-carpets-unite.md
Normal file
5
.changeset/wise-carpets-unite.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/extension-image": minor
|
||||
---
|
||||
|
||||
Add width and height attributes to Image node
|
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Load turbo cache
|
||||
uses: actions/cache@v4.2.0
|
||||
uses: actions/cache@v4.2.3
|
||||
id: turbo-cache
|
||||
with:
|
||||
path: |
|
||||
@ -137,7 +137,7 @@ jobs:
|
||||
|
||||
- name: Test ${{ matrix.test-spec.name }}
|
||||
id: cypress
|
||||
uses: cypress-io/github-action@v6.7.8
|
||||
uses: cypress-io/github-action@v6.7.16
|
||||
with:
|
||||
cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
start: pnpm run serve
|
||||
@ -148,7 +148,7 @@ jobs:
|
||||
quiet: true
|
||||
|
||||
- name: Export screenshots (on failure only)
|
||||
uses: actions/upload-artifact@v4.5.0
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
if: failure()
|
||||
with:
|
||||
name: cypress-screenshots
|
||||
@ -156,7 +156,7 @@ jobs:
|
||||
retention-days: 7
|
||||
|
||||
- name: Export screen recordings (on failure only)
|
||||
uses: actions/upload-artifact@v4.5.0
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
if: failure()
|
||||
with:
|
||||
name: cypress-videos
|
||||
@ -187,7 +187,7 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Load turbo cache
|
||||
uses: actions/cache@v4.2.0
|
||||
uses: actions/cache@v4.2.3
|
||||
id: turbo-cache
|
||||
with:
|
||||
path: |
|
||||
|
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Load turbo cache
|
||||
uses: actions/cache@v4.2.0
|
||||
uses: actions/cache@v4.2.3
|
||||
id: turbo-cache
|
||||
with:
|
||||
path: |
|
||||
@ -76,6 +76,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_CONFIG_PROVENANCE: true
|
||||
NPM_CONFIG_ACCESS: public
|
||||
|
||||
- name: Send release notification
|
||||
if: steps.changesets.outputs.published == 'true'
|
||||
|
13
codemods/tiptap-2-migrate-imports/CHANGELOG.md
Normal file
13
codemods/tiptap-2-migrate-imports/CHANGELOG.md
Normal file
@ -0,0 +1,13 @@
|
||||
# tiptap-2-migrate-imports
|
||||
|
||||
## 1.0.1-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
|
||||
## 1.0.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tiptap-2-migrate-imports",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1-beta.1",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/node": "20.9.0",
|
||||
|
@ -1,5 +1,11 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.1
|
||||
|
||||
### Major Changes
|
||||
@ -12,6 +18,24 @@
|
||||
|
||||
- a92f4a6: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds
|
||||
|
||||
## 2.5.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 98fffbb: Upgraded prosemirror-tables to 1.6.3 to fix cells being resizable while the editor is uneditable
|
||||
|
||||
## 2.5.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 7619215: The link extension's `validate` option now applies to both auto-linking and XSS mitigation. While, the new `shouldAutoLink` option is used to disable auto linking on an otherwise valid url.
|
||||
|
||||
## 2.5.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 6834a7f: Bundling of packages no longer includes tiptap dependency type definitions
|
||||
|
||||
## 2.4.2
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tiptap-demos",
|
||||
"version": "3.0.0-next.1",
|
||||
"version": "3.0.0-beta.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
@ -15,7 +15,7 @@
|
||||
"@lexical/react": "^0.11.3",
|
||||
"@lifeomic/attempt": "3.1.0",
|
||||
"@shikijs/core": "1.10.3",
|
||||
"@tiptap/y-tiptap": "^1.0.0",
|
||||
"@tiptap/y-tiptap": "^2.0.0",
|
||||
"d3": "^7.9.0",
|
||||
"fast-glob": "^3.3.2",
|
||||
"highlight.js": "^11.11.1",
|
||||
@ -39,7 +39,7 @@
|
||||
"prosemirror-tables": "^1.6.2",
|
||||
"prosemirror-trailing-node": "^3.0.0",
|
||||
"prosemirror-transform": "^1.10.2",
|
||||
"prosemirror-view": "^1.37.1",
|
||||
"prosemirror-view": "^1.38.1",
|
||||
"remixicon": "^2.5.0",
|
||||
"shiki": "^1.25.1",
|
||||
"y-webrtc": "10.3.0",
|
||||
@ -52,7 +52,7 @@
|
||||
"@vitejs/plugin-react": "^1.3.2",
|
||||
"@vitejs/plugin-vue": "^5.2.1",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"esbuild": "0.21.5",
|
||||
"esbuild": "0.25.0",
|
||||
"iframe-resizer": "^4.4.5",
|
||||
"postcss": "^8.4.49",
|
||||
"postcss-import": "^15.1.0",
|
||||
@ -63,7 +63,7 @@
|
||||
"tailwindcss": "^3.4.17",
|
||||
"typescript": "^5.7.2",
|
||||
"uuid": "^8.3.2",
|
||||
"vite": "^5.4.11",
|
||||
"vite": "^5.4.15",
|
||||
"vite-plugin-checker": "^0.6.4",
|
||||
"vue": "^3.5.13",
|
||||
"vue-router": "^4.5.0"
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { Extension } from '@tiptap/core'
|
||||
import { NodeSelection, Plugin } from '@tiptap/pm/state'
|
||||
import { __serializeForClipboard as serializeForClipboard } from '@tiptap/pm/view'
|
||||
|
||||
function removeNode(node) {
|
||||
node.parentNode.removeChild(node)
|
||||
@ -63,7 +62,7 @@ export default Extension.create({
|
||||
// from: view.nodeDOM(view.state.selection.from),
|
||||
// to: view.nodeDOM(view.state.selection.to),
|
||||
// })
|
||||
const { dom, text } = serializeForClipboard(view, slice)
|
||||
const { dom, text } = view.serializeForClipboard(slice)
|
||||
|
||||
e.dataTransfer.clearData()
|
||||
e.dataTransfer.setData('text/html', dom.innerHTML)
|
||||
|
@ -13,7 +13,15 @@ context('/src/Nodes/Youtube/React/', () => {
|
||||
cy.get('#add').eq(0).click()
|
||||
cy.get('.tiptap div[data-youtube-video] iframe')
|
||||
.should('have.length', 1)
|
||||
.should('have.attr', 'src', 'https://www.youtube-nocookie.com/embed/hBp4dgE7Bho?controls=0')
|
||||
.invoke('attr', 'src')
|
||||
.then(src => {
|
||||
const url = new URL(src)
|
||||
|
||||
expect(`${url.origin}${url.pathname}`).to.eq('https://www.youtube-nocookie.com/embed/hBp4dgE7Bho')
|
||||
expect([...url.searchParams.keys()]).to.have.members(['controls', 'rel'])
|
||||
expect(url.searchParams.get('controls')).to.eq('0')
|
||||
expect(url.searchParams.get('rel')).to.eq('1')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@ -25,9 +33,17 @@ context('/src/Nodes/Youtube/React/', () => {
|
||||
cy.get('#add').eq(0).click()
|
||||
cy.get('.tiptap div[data-youtube-video] iframe')
|
||||
.should('have.length', 1)
|
||||
.should('have.attr', 'src', 'https://www.youtube-nocookie.com/embed/hBp4dgE7Bho?controls=0')
|
||||
.should('have.css', 'width', '320px')
|
||||
.should('have.css', 'height', '240px')
|
||||
.invoke('attr', 'src')
|
||||
.then(src => {
|
||||
const url = new URL(src)
|
||||
|
||||
expect(`${url.origin}${url.pathname}`).to.eq('https://www.youtube-nocookie.com/embed/hBp4dgE7Bho')
|
||||
expect([...url.searchParams.keys()]).to.have.members(['controls', 'rel'])
|
||||
expect(url.searchParams.get('controls')).to.eq('0')
|
||||
expect(url.searchParams.get('rel')).to.eq('1')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@ -46,7 +62,15 @@ context('/src/Nodes/Youtube/React/', () => {
|
||||
cy.get('#add').eq(0).click()
|
||||
cy.get('.tiptap div[data-youtube-video] iframe')
|
||||
.should('have.length', 1)
|
||||
.should('have.attr', 'src', 'https://www.youtube-nocookie.com/embed/hBp4dgE7Bho?controls=0')
|
||||
.invoke('attr', 'src')
|
||||
.then(src => {
|
||||
const url = new URL(src)
|
||||
|
||||
expect(`${url.origin}${url.pathname}`).to.eq('https://www.youtube-nocookie.com/embed/hBp4dgE7Bho')
|
||||
expect([...url.searchParams.keys()]).to.have.members(['controls', 'rel'])
|
||||
expect(url.searchParams.get('controls')).to.eq('0')
|
||||
expect(url.searchParams.get('rel')).to.eq('1')
|
||||
})
|
||||
|
||||
cy.get('.tiptap div[data-youtube-video] iframe').click()
|
||||
|
||||
@ -54,7 +78,15 @@ context('/src/Nodes/Youtube/React/', () => {
|
||||
|
||||
cy.get('.tiptap div[data-youtube-video] iframe')
|
||||
.should('have.length', 1)
|
||||
.should('have.attr', 'src', 'https://www.youtube-nocookie.com/embed/wRakoMYVHm8?controls=0')
|
||||
.invoke('attr', 'src')
|
||||
.then(src => {
|
||||
const url = new URL(src)
|
||||
|
||||
expect(`${url.origin}${url.pathname}`).to.eq('https://www.youtube-nocookie.com/embed/wRakoMYVHm8')
|
||||
expect([...url.searchParams.keys()]).to.have.members(['controls', 'rel'])
|
||||
expect(url.searchParams.get('controls')).to.eq('0')
|
||||
expect(url.searchParams.get('rel')).to.eq('1')
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
@ -13,7 +13,15 @@ context('/src/Nodes/Youtube/Vue/', () => {
|
||||
cy.get('#add').eq(0).click()
|
||||
cy.get('.tiptap div[data-youtube-video] iframe')
|
||||
.should('have.length', 1)
|
||||
.should('have.attr', 'src', 'https://www.youtube-nocookie.com/embed/hBp4dgE7Bho?controls=0')
|
||||
.invoke('attr', 'src')
|
||||
.then(src => {
|
||||
const url = new URL(src)
|
||||
|
||||
expect(`${url.origin}${url.pathname}`).to.eq('https://www.youtube-nocookie.com/embed/hBp4dgE7Bho')
|
||||
expect([...url.searchParams.keys()]).to.have.members(['controls', 'rel'])
|
||||
expect(url.searchParams.get('controls')).to.eq('0')
|
||||
expect(url.searchParams.get('rel')).to.eq('1')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@ -25,9 +33,17 @@ context('/src/Nodes/Youtube/Vue/', () => {
|
||||
cy.get('#add').eq(0).click()
|
||||
cy.get('.tiptap div[data-youtube-video] iframe')
|
||||
.should('have.length', 1)
|
||||
.should('have.attr', 'src', 'https://www.youtube-nocookie.com/embed/hBp4dgE7Bho?controls=0')
|
||||
.should('have.css', 'width', '320px')
|
||||
.should('have.css', 'height', '240px')
|
||||
.invoke('attr', 'src')
|
||||
.then(src => {
|
||||
const url = new URL(src)
|
||||
|
||||
expect(`${url.origin}${url.pathname}`).to.eq('https://www.youtube-nocookie.com/embed/hBp4dgE7Bho')
|
||||
expect([...url.searchParams.keys()]).to.have.members(['controls', 'rel'])
|
||||
expect(url.searchParams.get('controls')).to.eq('0')
|
||||
expect(url.searchParams.get('rel')).to.eq('1')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@ -46,7 +62,15 @@ context('/src/Nodes/Youtube/Vue/', () => {
|
||||
cy.get('#add').eq(0).click()
|
||||
cy.get('.tiptap div[data-youtube-video] iframe')
|
||||
.should('have.length', 1)
|
||||
.should('have.attr', 'src', 'https://www.youtube-nocookie.com/embed/hBp4dgE7Bho?controls=0')
|
||||
.invoke('attr', 'src')
|
||||
.then(src => {
|
||||
const url = new URL(src)
|
||||
|
||||
expect(`${url.origin}${url.pathname}`).to.eq('https://www.youtube-nocookie.com/embed/hBp4dgE7Bho')
|
||||
expect([...url.searchParams.keys()]).to.have.members(['controls', 'rel'])
|
||||
expect(url.searchParams.get('controls')).to.eq('0')
|
||||
expect(url.searchParams.get('rel')).to.eq('1')
|
||||
})
|
||||
|
||||
cy.get('.tiptap div[data-youtube-video] iframe').click()
|
||||
|
||||
@ -54,7 +78,15 @@ context('/src/Nodes/Youtube/Vue/', () => {
|
||||
|
||||
cy.get('.tiptap div[data-youtube-video] iframe')
|
||||
.should('have.length', 1)
|
||||
.should('have.attr', 'src', 'https://www.youtube-nocookie.com/embed/wRakoMYVHm8?controls=0')
|
||||
.invoke('attr', 'src')
|
||||
.then(src => {
|
||||
const url = new URL(src)
|
||||
|
||||
expect(`${url.origin}${url.pathname}`).to.eq('https://www.youtube-nocookie.com/embed/wRakoMYVHm8')
|
||||
expect([...url.searchParams.keys()]).to.have.members(['controls', 'rel'])
|
||||
expect(url.searchParams.get('controls')).to.eq('0')
|
||||
expect(url.searchParams.get('rel')).to.eq('1')
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extensions@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -43,6 +61,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-character-count",
|
||||
"description": "font family extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.6"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.3"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extensions@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -39,6 +57,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-dropcursor",
|
||||
"description": "dropcursor extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.6"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.3"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,46 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extensions@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @tiptap/extensions@3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @tiptap/extensions@3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [52b6644]
|
||||
- @tiptap/extensions@3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @tiptap/extensions@3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
- Updated dependencies [89bd9c7]
|
||||
- @tiptap/extensions@3.0.0-next.7
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -19,6 +60,40 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [bfec9b2]
|
||||
- @tiptap/extensions@3.0.0-next.4
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
|
||||
## 3.0.0-next.1
|
||||
|
||||
### Major Changes
|
||||
|
||||
- a92f4a6: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a92f4a6]
|
||||
- Updated dependencies [da76972]
|
||||
- @tiptap/core@3.0.0-next.1
|
||||
- @tiptap/pm@3.0.0-next.1
|
||||
|
||||
## 3.0.0-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
@ -61,36 +136,6 @@
|
||||
|
||||
## 2.7.0-pre.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [bfec9b2]
|
||||
- @tiptap/extensions@3.0.0-next.4
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
|
||||
## 3.0.0-next.1
|
||||
|
||||
### Major Changes
|
||||
|
||||
- a92f4a6: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a92f4a6]
|
||||
- Updated dependencies [da76972]
|
||||
- @tiptap/core@3.0.0-next.1
|
||||
- @tiptap/pm@3.0.0-next.1
|
||||
|
||||
## 3.0.0-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-focus",
|
||||
"description": "focus extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extensions": "3.0.0-next.6"
|
||||
"@tiptap/extensions": "3.0.0-beta.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extensions": "3.0.0-next.6"
|
||||
"@tiptap/extensions": "3.0.0-beta.3"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extensions@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -39,6 +57,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-gapcursor",
|
||||
"description": "gapcursor extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.6"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.3"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,31 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extensions@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Major Changes
|
||||
|
||||
- d8a3d93: Pointed old `extension-history` extension as a fallback extension to the new `@tiptap/extensions` package where the old history extension is now exported from as `UndoRedo` to clarify what kind of history this extension is implementing.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +36,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -39,6 +61,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-history",
|
||||
"description": "history extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.6"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.3"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-list@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -317,10 +339,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -344,6 +362,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-list-item",
|
||||
"description": "list item extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.6"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.4"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-list@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -317,10 +339,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -348,6 +366,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-list-keymap",
|
||||
"description": "list keymap extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.6"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.4"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extensions@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -11,10 +33,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -41,6 +59,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-placeholder",
|
||||
"description": "placeholder extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.6"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extensions": "^3.0.0-next.3"
|
||||
"@tiptap/extensions": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-table@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -135,6 +157,37 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 131c7d0: This change repackages all of the table extensions to be within the `@tiptap/extension-table` package (other packages are just a re-export of the `@tiptap/extension-table` package). It also adds the `TableKit` export which will allow configuring the entire table with one extension.
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
|
||||
## 3.0.0-next.1
|
||||
|
||||
### Major Changes
|
||||
|
||||
- a92f4a6: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a92f4a6]
|
||||
- Updated dependencies [da76972]
|
||||
- @tiptap/core@3.0.0-next.1
|
||||
|
||||
## 3.0.0-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
@ -165,33 +218,6 @@
|
||||
|
||||
## 2.8.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 131c7d0: This change repackages all of the table extensions to be within the `@tiptap/extension-table` package (other packages are just a re-export of the `@tiptap/extension-table` package). It also adds the `TableKit` export which will allow configuring the entire table with one extension.
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
|
||||
## 3.0.0-next.1
|
||||
|
||||
### Major Changes
|
||||
|
||||
- a92f4a6: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a92f4a6]
|
||||
- Updated dependencies [da76972]
|
||||
- @tiptap/core@3.0.0-next.1
|
||||
|
||||
## 3.0.0-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-table-cell",
|
||||
"description": "table cell extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-table": "^3.0.0-next.6"
|
||||
"@tiptap/extension-table": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-table": "^3.0.0-next.3"
|
||||
"@tiptap/extension-table": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-table@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -135,6 +157,37 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 131c7d0: This change repackages all of the table extensions to be within the `@tiptap/extension-table` package (other packages are just a re-export of the `@tiptap/extension-table` package). It also adds the `TableKit` export which will allow configuring the entire table with one extension.
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
|
||||
## 3.0.0-next.1
|
||||
|
||||
### Major Changes
|
||||
|
||||
- a92f4a6: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a92f4a6]
|
||||
- Updated dependencies [da76972]
|
||||
- @tiptap/core@3.0.0-next.1
|
||||
|
||||
## 3.0.0-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
@ -165,33 +218,6 @@
|
||||
|
||||
## 2.8.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 131c7d0: This change repackages all of the table extensions to be within the `@tiptap/extension-table` package (other packages are just a re-export of the `@tiptap/extension-table` package). It also adds the `TableKit` export which will allow configuring the entire table with one extension.
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
|
||||
## 3.0.0-next.1
|
||||
|
||||
### Major Changes
|
||||
|
||||
- a92f4a6: We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a92f4a6]
|
||||
- Updated dependencies [da76972]
|
||||
- @tiptap/core@3.0.0-next.1
|
||||
|
||||
## 3.0.0-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-table-header",
|
||||
"description": "table cell extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-table": "^3.0.0-next.6"
|
||||
"@tiptap/extension-table": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-table": "^3.0.0-next.3"
|
||||
"@tiptap/extension-table": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-table@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -135,32 +157,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.11.2
|
||||
|
||||
## 2.11.1
|
||||
|
||||
## 2.11.0
|
||||
|
||||
## 2.10.4
|
||||
|
||||
## 2.10.3
|
||||
|
||||
## 2.10.2
|
||||
|
||||
## 2.10.1
|
||||
|
||||
## 2.10.0
|
||||
|
||||
## 2.9.1
|
||||
|
||||
## 2.9.0
|
||||
|
||||
## 2.8.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 131c7d0: This change repackages all of the table extensions to be within the `@tiptap/extension-table` package (other packages are just a re-export of the `@tiptap/extension-table` package). It also adds the `TableKit` export which will allow configuring the entire table with one extension.
|
||||
@ -188,6 +184,36 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.11.2
|
||||
|
||||
## 2.11.1
|
||||
|
||||
## 2.11.0
|
||||
|
||||
## 2.10.4
|
||||
|
||||
## 2.10.3
|
||||
|
||||
## 2.10.2
|
||||
|
||||
## 2.10.1
|
||||
|
||||
## 2.10.0
|
||||
|
||||
## 2.9.1
|
||||
|
||||
## 2.9.0
|
||||
|
||||
## 2.8.0
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-table-row",
|
||||
"description": "table row extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-table": "^3.0.0-next.6"
|
||||
"@tiptap/extension-table": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-table": "^3.0.0-next.3"
|
||||
"@tiptap/extension-table": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-list@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -40,6 +58,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-task-item",
|
||||
"description": "task item extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.6"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.4"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-list@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -317,10 +339,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -344,6 +362,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-task-list",
|
||||
"description": "task list extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.6"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.4"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,35 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 664834f: Clone dragged node before dragging to get correct drag preview image
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 8de8e13: The editor instance now supports an `unmount` 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 the `destroy` method, which will unmount, emit the `destroy` event, and remove all event listeners.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -556,34 +586,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a44a7c3: fix(core): do not reset marks, or nodes when using IME on mobile devices
|
||||
- fa63c47: Focus synchronously only if on iOS or Android #4448
|
||||
|
||||
## 2.11.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 2abd4df: Re-release
|
||||
|
||||
## 2.11.1
|
||||
|
||||
## 2.11.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- ff8eed6: Support `validate` options in node and mark attribute definitions.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 20f68f6: Remove editor.getCharacterCount() which was already deprecated and incorrectly implemented
|
||||
- d6c7558: If a transaction results in the exact same editor state (either filtered out or failed to apply) then do not attempt to re-apply the same editor state and do not emit any events associated to the transaction
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -625,6 +627,42 @@
|
||||
- 0ec0af6: fix(core): findDuplicates - use Array.from when converting Set
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 826cfe7: Export focusEvents plugin key
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a44a7c3: fix(core): do not reset marks, or nodes when using IME on mobile devices
|
||||
- fa63c47: Focus synchronously only if on iOS or Android #4448
|
||||
|
||||
## 2.11.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 2abd4df: Re-release
|
||||
|
||||
## 2.11.1
|
||||
|
||||
## 2.11.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- ff8eed6: Support `validate` options in node and mark attribute definitions.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 20f68f6: Remove editor.getCharacterCount() which was already deprecated and incorrectly implemented
|
||||
- d6c7558: If a transaction results in the exact same editor state (either filtered out or failed to apply) then do not attempt to re-apply the same editor state and do not emit any events associated to the transaction
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/core",
|
||||
"description": "headless rich text editor",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -51,10 +51,10 @@
|
||||
"jsx-runtime"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/pm": "^3.0.0-next.6"
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/pm": "^3.0.0-next.1"
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -58,7 +58,7 @@ export class Editor extends EventEmitter<EditorEvents> {
|
||||
|
||||
public extensionManager!: ExtensionManager
|
||||
|
||||
private css!: HTMLStyleElement
|
||||
private css: HTMLStyleElement | null = null
|
||||
|
||||
public schema!: Schema
|
||||
|
||||
@ -147,6 +147,9 @@ export class Editor extends EventEmitter<EditorEvents> {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Attach the editor to the DOM, creating a new editor view.
|
||||
*/
|
||||
public mount(el: NonNullable<EditorOptions['element']> & {}) {
|
||||
if (typeof document === 'undefined') {
|
||||
throw new Error(
|
||||
@ -166,6 +169,26 @@ export class Editor extends EventEmitter<EditorEvents> {
|
||||
}, 0)
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the editor from the DOM, but still allow remounting at a different point in time
|
||||
*/
|
||||
public unmount() {
|
||||
if (this.editorView) {
|
||||
// Cleanup our reference to prevent circular references which caused memory leaks
|
||||
// @ts-ignore
|
||||
const dom = this.editorView.dom as TiptapEditorHTMLElement
|
||||
|
||||
if (dom?.editor) {
|
||||
delete dom.editor
|
||||
}
|
||||
this.editorView.destroy()
|
||||
}
|
||||
this.editorView = null
|
||||
this.isInitialized = false
|
||||
this.css?.remove()
|
||||
this.css = null
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the editor storage.
|
||||
*/
|
||||
@ -268,6 +291,7 @@ export class Editor extends EventEmitter<EditorEvents> {
|
||||
composing: false,
|
||||
dragging: null,
|
||||
editable: true,
|
||||
isDestroyed: false,
|
||||
} as EditorView,
|
||||
{
|
||||
get: (obj, key) => {
|
||||
@ -496,7 +520,7 @@ export class Editor extends EventEmitter<EditorEvents> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates all node views.
|
||||
* Creates all node and mark views.
|
||||
*/
|
||||
public createNodeViews(): void {
|
||||
if (this.view.isDestroyed) {
|
||||
@ -696,16 +720,7 @@ export class Editor extends EventEmitter<EditorEvents> {
|
||||
public destroy(): void {
|
||||
this.emit('destroy')
|
||||
|
||||
if (this.editorView) {
|
||||
// Cleanup our reference to prevent circular references which caused memory leaks
|
||||
// @ts-ignore
|
||||
const dom = this.editorView.dom as TiptapEditorHTMLElement
|
||||
|
||||
if (dom && dom.editor) {
|
||||
delete dom.editor
|
||||
}
|
||||
this.editorView.destroy()
|
||||
}
|
||||
this.unmount()
|
||||
|
||||
this.removeAllListeners()
|
||||
}
|
||||
@ -714,8 +729,7 @@ export class Editor extends EventEmitter<EditorEvents> {
|
||||
* Check if the editor is already destroyed.
|
||||
*/
|
||||
public get isDestroyed(): boolean {
|
||||
// @ts-ignore
|
||||
return !this.view?.docView
|
||||
return this.editorView?.isDestroyed ?? true
|
||||
}
|
||||
|
||||
public $node(selector: string, attributes?: { [key: string]: any }): NodePos | null {
|
||||
|
@ -475,7 +475,7 @@ export class Extendable<
|
||||
}
|
||||
|
||||
configure(options: Partial<Options> = {}) {
|
||||
const extension = this.extend<Options, Storage>({
|
||||
const extension = this.extend<Options, Storage, Config>({
|
||||
...this.config,
|
||||
addOptions: () => {
|
||||
return mergeDeep(this.options as Record<string, any>, options) as Options
|
||||
@ -488,18 +488,19 @@ export class Extendable<
|
||||
return extension
|
||||
}
|
||||
|
||||
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(
|
||||
extendedConfig: Partial<
|
||||
extend<
|
||||
ExtendedOptions = Options,
|
||||
ExtendedStorage = Storage,
|
||||
ExtendedConfig =
|
||||
| ExtensionConfig<ExtendedOptions, ExtendedStorage>
|
||||
| NodeConfig<ExtendedOptions, ExtendedStorage>
|
||||
| MarkConfig<ExtendedOptions, ExtendedStorage>
|
||||
> = {},
|
||||
): Extendable<ExtendedOptions, ExtendedStorage> {
|
||||
| MarkConfig<ExtendedOptions, ExtendedStorage>,
|
||||
>(extendedConfig: Partial<ExtendedConfig> = {}): Extendable<ExtendedOptions, ExtendedStorage> {
|
||||
const extension = new (this.constructor as any)({ ...this.config, ...extendedConfig })
|
||||
|
||||
extension.parent = this
|
||||
this.child = extension
|
||||
extension.name = extendedConfig.name ? extendedConfig.name : extension.parent.name
|
||||
extension.name = 'name' in extendedConfig ? extendedConfig.name : extension.parent.name
|
||||
|
||||
return extension
|
||||
}
|
||||
|
@ -8,10 +8,26 @@ export interface ExtensionConfig<Options = any, Storage = any>
|
||||
* The Extension class is the base class for all extensions.
|
||||
* @see https://tiptap.dev/api/extensions#create-a-new-extension
|
||||
*/
|
||||
export class Extension<Options = any, Storage = any> extends Extendable<Options, Storage> {
|
||||
export class Extension<Options = any, Storage = any> extends Extendable<
|
||||
Options,
|
||||
Storage,
|
||||
ExtensionConfig<Options, Storage>
|
||||
> {
|
||||
type = 'extension'
|
||||
|
||||
static create<O = any, S = any>(config: Partial<ExtensionConfig<O, S>> = {}) {
|
||||
return new Extension<O, S>(config)
|
||||
}
|
||||
|
||||
configure(options?: Partial<Options>) {
|
||||
return super.configure(options) as Extension<Options, Storage>
|
||||
}
|
||||
|
||||
extend<
|
||||
ExtendedOptions = Options,
|
||||
ExtendedStorage = Storage,
|
||||
ExtendedConfig = ExtensionConfig<ExtendedOptions, ExtendedStorage>,
|
||||
>(extendedConfig?: Partial<ExtendedConfig>) {
|
||||
return super.extend(extendedConfig) as Extension<ExtendedOptions, ExtendedStorage>
|
||||
}
|
||||
}
|
||||
|
@ -143,7 +143,7 @@ export interface MarkConfig<Options = any, Storage = any>
|
||||
* The Mark class is used to create custom mark extensions.
|
||||
* @see https://tiptap.dev/api/extensions#create-a-new-extension
|
||||
*/
|
||||
export class Mark<Options = any, Storage = any> extends Extendable<Options, Storage> {
|
||||
export class Mark<Options = any, Storage = any> extends Extendable<Options, Storage, MarkConfig<Options, Storage>> {
|
||||
type = 'mark'
|
||||
|
||||
static create<O = any, S = any>(config: Partial<MarkConfig<O, S>> = {}) {
|
||||
@ -177,4 +177,16 @@ export class Mark<Options = any, Storage = any> extends Extendable<Options, Stor
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
configure(options?: Partial<Options>) {
|
||||
return super.configure(options) as Mark<Options, Storage>
|
||||
}
|
||||
|
||||
extend<
|
||||
ExtendedOptions = Options,
|
||||
ExtendedStorage = Storage,
|
||||
ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>,
|
||||
>(extendedConfig?: Partial<ExtendedConfig>) {
|
||||
return super.extend(extendedConfig) as Mark<ExtendedOptions, ExtendedStorage>
|
||||
}
|
||||
}
|
||||
|
@ -337,10 +337,22 @@ export interface NodeConfig<Options = any, Storage = any>
|
||||
* The Node class is used to create custom node extensions.
|
||||
* @see https://tiptap.dev/api/extensions#create-a-new-extension
|
||||
*/
|
||||
export class Node<Options = any, Storage = any> extends Extendable<Options, Storage> {
|
||||
export class Node<Options = any, Storage = any> extends Extendable<Options, Storage, NodeConfig<Options, Storage>> {
|
||||
type = 'node'
|
||||
|
||||
static create<O = any, S = any>(config: Partial<NodeConfig<O, S>> = {}) {
|
||||
return new Node<O, S>(config)
|
||||
}
|
||||
|
||||
configure(options?: Partial<Options>) {
|
||||
return super.configure(options) as Node<Options, Storage>
|
||||
}
|
||||
|
||||
extend<
|
||||
ExtendedOptions = Options,
|
||||
ExtendedStorage = Storage,
|
||||
ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>,
|
||||
>(extendedConfig?: Partial<ExtendedConfig>) {
|
||||
return super.extend(extendedConfig) as Node<ExtendedOptions, ExtendedStorage>
|
||||
}
|
||||
}
|
||||
|
@ -98,7 +98,9 @@ export class NodeView<
|
||||
y = handleBox.y - domBox.y + offsetY
|
||||
}
|
||||
|
||||
event.dataTransfer?.setDragImage(this.dom, x, y)
|
||||
const clonedNode = this.dom.cloneNode(true) as HTMLElement
|
||||
|
||||
event.dataTransfer?.setDragImage(clonedNode, x, y)
|
||||
|
||||
const pos = this.getPos()
|
||||
|
||||
|
@ -2,6 +2,8 @@ import { Plugin, PluginKey } from '@tiptap/pm/state'
|
||||
|
||||
import { Extension } from '../Extension.js'
|
||||
|
||||
export const focusEventsPluginKey = new PluginKey('focusEvents')
|
||||
|
||||
export const FocusEvents = Extension.create({
|
||||
name: 'focusEvents',
|
||||
|
||||
@ -10,7 +12,7 @@ export const FocusEvents = Extension.create({
|
||||
|
||||
return [
|
||||
new Plugin({
|
||||
key: new PluginKey('focusEvents'),
|
||||
key: focusEventsPluginKey,
|
||||
props: {
|
||||
handleDOMEvents: {
|
||||
focus: (view, event: Event) => {
|
||||
|
@ -3,7 +3,7 @@ export { Commands } from './commands.js'
|
||||
export { Delete } from './delete.js'
|
||||
export { Drop } from './drop.js'
|
||||
export { Editable } from './editable.js'
|
||||
export { FocusEvents } from './focusEvents.js'
|
||||
export { FocusEvents, focusEventsPluginKey } from './focusEvents.js'
|
||||
export { Keymap } from './keymap.js'
|
||||
export { Paste } from './paste.js'
|
||||
export { Tabindex } from './tabindex.js'
|
||||
|
@ -14,13 +14,13 @@ import type {
|
||||
} from '@tiptap/pm/view'
|
||||
|
||||
import type { Editor } from './Editor.js'
|
||||
import type { Extension } from './Extension.js'
|
||||
import type { Extendable } from './Extendable.js'
|
||||
import type { Commands, ExtensionConfig, MarkConfig, NodeConfig } from './index.js'
|
||||
import type { Mark } from './Mark.js'
|
||||
import type { Node } from './Node.js'
|
||||
|
||||
export type AnyConfig = ExtensionConfig | NodeConfig | MarkConfig
|
||||
export type AnyExtension = Extension | Node | Mark
|
||||
export type AnyExtension = Extendable
|
||||
export type Extensions = AnyExtension[]
|
||||
|
||||
export type ParentConfig<T> = Partial<{
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -37,6 +55,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-blockquote",
|
||||
"description": "blockquote extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -37,6 +55,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-bold",
|
||||
"description": "bold extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,28 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -36,10 +59,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -94,6 +113,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-bubble-menu",
|
||||
"description": "bubble-menu extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -37,15 +37,15 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6",
|
||||
"@tiptap/pm": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@floating-ui/dom": "^1.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1",
|
||||
"@tiptap/pm": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-list@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -317,10 +339,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -344,6 +362,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-bullet-list",
|
||||
"description": "bullet list extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.6"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-list": "^3.0.0-next.4"
|
||||
"@tiptap/extension-list": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,29 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-code-block@3.0.0-beta.3
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +34,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -41,6 +61,14 @@
|
||||
- @tiptap/extension-code-block@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-code-block-lowlight",
|
||||
"description": "code block extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,15 +31,15 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6",
|
||||
"@tiptap/extension-code-block": "^3.0.0-next.6",
|
||||
"@tiptap/pm": "^3.0.0-next.6",
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/extension-code-block": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*",
|
||||
"lowlight": "^3.3.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1",
|
||||
"@tiptap/extension-code-block": "^3.0.0-next.1",
|
||||
"@tiptap/pm": "^3.0.0-next.1",
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/extension-code-block": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*",
|
||||
"lowlight": "^2 || ^3",
|
||||
"highlight.js": "^11"
|
||||
},
|
||||
|
@ -1,5 +1,28 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +33,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -39,6 +58,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-code-block",
|
||||
"description": "code block extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,12 +31,12 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6",
|
||||
"@tiptap/pm": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1",
|
||||
"@tiptap/pm": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -41,6 +59,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-code",
|
||||
"description": "code extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,32 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Major Changes
|
||||
|
||||
- 25ec82e: Renamed `@tiptap/extension-collaboration-cursor` to `@tiptap/extension-collaboration-caret` to clarify what kind of cursor this extension is implementing.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -15,10 +42,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -42,6 +65,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-collaboration-caret",
|
||||
"description": "collaboration caret extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,14 +31,14 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6",
|
||||
"@tiptap/pm": "^3.0.0-next.6",
|
||||
"@tiptap/y-tiptap": "^1.0.0"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*",
|
||||
"@tiptap/y-tiptap": "^2.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.3",
|
||||
"@tiptap/pm": "^3.0.0-next.3",
|
||||
"@tiptap/y-tiptap": "^1.0.0"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*",
|
||||
"@tiptap/y-tiptap": "^2.0.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,28 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -15,10 +38,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -44,6 +63,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-collaboration",
|
||||
"description": "collaboration extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,14 +31,14 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6",
|
||||
"@tiptap/pm": "^3.0.0-next.6",
|
||||
"@tiptap/y-tiptap": "^1.0.0"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*",
|
||||
"@tiptap/y-tiptap": "^2.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1",
|
||||
"@tiptap/pm": "^3.0.0-next.1",
|
||||
"@tiptap/y-tiptap": "^1.0.0",
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*",
|
||||
"@tiptap/y-tiptap": "^2.0.0",
|
||||
"yjs": "^13"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-text-style@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -39,6 +57,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/extension-text-style@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-color",
|
||||
"description": "text color extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-text-style": "^3.0.0-next.6"
|
||||
"@tiptap/extension-text-style": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-text-style": "^3.0.0-next.1"
|
||||
"@tiptap/extension-text-style": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -37,6 +55,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-document",
|
||||
"description": "document extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,28 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -36,10 +59,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -98,6 +117,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-floating-menu",
|
||||
"description": "floating-menu extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -32,13 +32,13 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"@floating-ui/dom": "^1.6.12",
|
||||
"@tiptap/core": "^3.0.0-next.6",
|
||||
"@tiptap/pm": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@floating-ui/dom": "^1.0.0",
|
||||
"@tiptap/core": "^3.0.0-next.1",
|
||||
"@tiptap/pm": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/extension-text-style@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -39,6 +57,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/extension-text-style@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-font-family",
|
||||
"description": "font family extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/extension-text-style": "^3.0.0-next.6"
|
||||
"@tiptap/extension-text-style": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/extension-text-style": "^3.0.0-next.3"
|
||||
"@tiptap/extension-text-style": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -37,6 +55,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-hard-break",
|
||||
"description": "hard break extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -41,6 +59,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-heading",
|
||||
"description": "heading extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -37,6 +55,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-highlight",
|
||||
"description": "highlight extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,28 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +33,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -39,6 +58,14 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-horizontal-rule",
|
||||
"description": "horizontal rule extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,12 +31,12 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6",
|
||||
"@tiptap/pm": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1",
|
||||
"@tiptap/pm": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,31 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- d230f7e: Add width and height attributes to Image node
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +36,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -37,6 +59,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-image",
|
||||
"description": "image extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -24,6 +24,14 @@ export interface ImageOptions {
|
||||
HTMLAttributes: Record<string, any>
|
||||
}
|
||||
|
||||
export interface SetImageOptions {
|
||||
src: string
|
||||
alt?: string
|
||||
title?: string
|
||||
width?: number
|
||||
height?: number
|
||||
}
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface Commands<ReturnType> {
|
||||
image: {
|
||||
@ -35,7 +43,7 @@ declare module '@tiptap/core' {
|
||||
* .commands
|
||||
* .setImage({ src: 'https://tiptap.dev/logo.png', alt: 'tiptap', title: 'tiptap logo' })
|
||||
*/
|
||||
setImage: (options: { src: string; alt?: string; title?: string }) => ReturnType
|
||||
setImage: (options: SetImageOptions) => ReturnType
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -81,6 +89,12 @@ export const Image = Node.create<ImageOptions>({
|
||||
title: {
|
||||
default: null,
|
||||
},
|
||||
width: {
|
||||
default: null,
|
||||
},
|
||||
height: {
|
||||
default: null,
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1,5 +1,27 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,10 +32,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -37,6 +55,14 @@
|
||||
- Updated dependencies [0ec0af6]
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-italic",
|
||||
"description": "italic extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -31,10 +31,10 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,5 +1,32 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0-beta.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 1b4c82b: We are now using pnpm package aliases for versions to enable better version pinning for the monorepository
|
||||
- Updated dependencies [1b4c82b]
|
||||
- @tiptap/core@3.0.0-beta.3
|
||||
- @tiptap/pm@3.0.0-beta.3
|
||||
|
||||
## 3.0.0-beta.2
|
||||
|
||||
## 3.0.0-beta.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- d0557ef: Fixed links with marks not registering click events correctly
|
||||
|
||||
## 3.0.0-beta.0
|
||||
|
||||
## 3.0.0-next.8
|
||||
|
||||
## 3.0.0-next.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 89bd9c7: Enforce type imports so that the bundler ignores TypeScript type imports when generating the index.js file of the dist directory
|
||||
|
||||
## 3.0.0-next.6
|
||||
|
||||
### Major Changes
|
||||
@ -10,14 +37,6 @@
|
||||
|
||||
## 3.0.0-next.4
|
||||
|
||||
## 2.11.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- bce96a6: Added support for numbers in email addresses.
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 3.0.0-next.3
|
||||
|
||||
## 3.0.0-next.2
|
||||
@ -47,6 +66,18 @@
|
||||
- @tiptap/core@3.0.0-next.0
|
||||
- @tiptap/pm@3.0.0-next.0
|
||||
|
||||
## 2.11.6
|
||||
|
||||
## 2.11.5
|
||||
|
||||
## 2.11.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- bce96a6: Added support for numbers in email addresses.
|
||||
|
||||
## 2.11.3
|
||||
|
||||
## 2.5.8
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@tiptap/extension-link",
|
||||
"description": "link extension for tiptap",
|
||||
"version": "3.0.0-next.6",
|
||||
"version": "3.0.0-beta.3",
|
||||
"homepage": "https://tiptap.dev",
|
||||
"keywords": [
|
||||
"tiptap",
|
||||
@ -34,12 +34,12 @@
|
||||
"linkifyjs": "^4.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.6",
|
||||
"@tiptap/pm": "^3.0.0-next.6"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^3.0.0-next.1",
|
||||
"@tiptap/pm": "^3.0.0-next.1"
|
||||
"@tiptap/core": "workspace:*",
|
||||
"@tiptap/pm": "workspace:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -19,6 +19,11 @@ export function clickHandler(options: ClickHandlerOptions): Plugin {
|
||||
return false
|
||||
}
|
||||
|
||||
let link: HTMLAnchorElement | null = null
|
||||
|
||||
if (event.target instanceof HTMLAnchorElement) {
|
||||
link = event.target
|
||||
} else {
|
||||
let a = event.target as HTMLElement
|
||||
const els = []
|
||||
|
||||
@ -26,14 +31,14 @@ export function clickHandler(options: ClickHandlerOptions): Plugin {
|
||||
els.push(a)
|
||||
a = a.parentNode as HTMLElement
|
||||
}
|
||||
link = els.find(value => value.nodeName === 'A') as HTMLAnchorElement
|
||||
}
|
||||
|
||||
if (!els.find(value => value.nodeName === 'A')) {
|
||||
if (!link) {
|
||||
return false
|
||||
}
|
||||
|
||||
const attrs = getAttributes(view.state, options.type.name)
|
||||
const link = event.target as HTMLAnchorElement
|
||||
|
||||
const href = link?.href ?? attrs.href
|
||||
const target = link?.target ?? attrs.target
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user