mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 05:26:21 +08:00
dependencies: update
This commit is contained in:
parent
909d44459c
commit
6a94e2fa62
@ -12,25 +12,25 @@
|
||||
"d3": "^7.2.1",
|
||||
"fast-glob": "^3.2.7",
|
||||
"remixicon": "^2.5.0",
|
||||
"shiki": "^0.9.15",
|
||||
"shiki": "^0.10.0",
|
||||
"simplify-js": "^1.2.4",
|
||||
"y-webrtc": "^10.2.2",
|
||||
"yjs": "^13.5.22"
|
||||
"yjs": "^13.5.23"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/uuid": "^8.3.3",
|
||||
"@vitejs/plugin-react-refresh": "^1.3.6",
|
||||
"@vitejs/plugin-vue": "^1.10.2",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"autoprefixer": "^10.4.1",
|
||||
"iframe-resizer": "^4.3.2",
|
||||
"postcss": "^8.4.5",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"sass": "^1.45.0",
|
||||
"sass": "^1.45.2",
|
||||
"tailwindcss": "^2.2.19",
|
||||
"typescript": "^4.5.4",
|
||||
"uuid": "^8.3.2",
|
||||
"vite": "^2.7.2",
|
||||
"vite": "^2.7.10",
|
||||
"vite-plugin-checker": "^0.3.4",
|
||||
"vue": "^3.0.5",
|
||||
"vue-router": "^4.0.11"
|
||||
|
@ -203,6 +203,15 @@ Node.create({
|
||||
})
|
||||
```
|
||||
|
||||
#### Whitespace
|
||||
Controls way whitespace in this a node is parsed.
|
||||
|
||||
```js
|
||||
Node.create({
|
||||
whitespace: 'pre',
|
||||
})
|
||||
```
|
||||
|
||||
#### Defining
|
||||
Nodes get dropped when their entire content is replaced (for example, when pasting new content) by default. If a node should be kept for such replace operations, configure them as `defining`.
|
||||
|
||||
|
26
package.json
26
package.json
@ -24,31 +24,31 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@atomico/rollup-plugin-sizes": "^1.1.4",
|
||||
"@babel/core": "^7.16.5",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.5",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.16.5",
|
||||
"@babel/preset-env": "^7.16.5",
|
||||
"@babel/preset-react": "^7.16.5",
|
||||
"@cypress/webpack-preprocessor": "^5.10.0",
|
||||
"@babel/core": "^7.16.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
||||
"@babel/preset-env": "^7.16.7",
|
||||
"@babel/preset-react": "^7.16.7",
|
||||
"@cypress/webpack-preprocessor": "^5.11.0",
|
||||
"@lerna/batch-packages": "^3.16.0",
|
||||
"@lerna/filter-packages": "^4.0.0",
|
||||
"@lerna/project": "^4.0.0",
|
||||
"@rollup/plugin-babel": "^5.3.0",
|
||||
"@rollup/plugin-commonjs": "^21.0.1",
|
||||
"@rollup/plugin-node-resolve": "^13.1.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
||||
"@typescript-eslint/parser": "^5.7.0",
|
||||
"@rollup/plugin-node-resolve": "^13.1.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
||||
"@typescript-eslint/parser": "^5.9.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"cypress": "^9.1.1",
|
||||
"eslint": "^8.4.1",
|
||||
"cypress": "^9.2.0",
|
||||
"eslint": "^8.6.0",
|
||||
"eslint-config-airbnb-base": "^14.2.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-html": "^6.2.0",
|
||||
"eslint-plugin-import": "^2.25.3",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-vue": "^8.2.0",
|
||||
"lerna": "^4.0.0",
|
||||
"minimist": "^1.2.5",
|
||||
"rollup": "^2.61.1",
|
||||
"rollup": "^2.62.0",
|
||||
"rollup-plugin-auto-external": "^2.0.0",
|
||||
"rollup-plugin-sourcemaps": "^0.6.3",
|
||||
"rollup-plugin-typescript2": "^0.31.1",
|
||||
|
@ -33,11 +33,11 @@
|
||||
"@types/prosemirror-view": "^1.19.2",
|
||||
"prosemirror-commands": "^1.1.12",
|
||||
"prosemirror-keymap": "^1.1.5",
|
||||
"prosemirror-model": "^1.15.0",
|
||||
"prosemirror-model": "^1.16.1",
|
||||
"prosemirror-schema-list": "^1.1.6",
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"prosemirror-transform": "^1.3.3",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -375,6 +375,16 @@ declare module '@tiptap/core' {
|
||||
parent: ParentConfig<NodeConfig<Options, Storage>>['code'],
|
||||
}) => NodeSpec['code']),
|
||||
|
||||
/**
|
||||
* Whitespace
|
||||
*/
|
||||
whitespace?: NodeSpec['whitespace'] | ((this: {
|
||||
name: string,
|
||||
options: Options,
|
||||
storage: Storage,
|
||||
parent: ParentConfig<NodeConfig<Options, Storage>>['whitespace'],
|
||||
}) => NodeSpec['whitespace']),
|
||||
|
||||
/**
|
||||
* Defining
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"prosemirror-view": "^1.23.3",
|
||||
"prosemirror-view": "^1.23.5",
|
||||
"tippy.js": "^6.3.7"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -27,9 +27,9 @@
|
||||
"@tiptap/extension-code-block": "^2.0.0-beta.33",
|
||||
"@types/lowlight": "^0.0.3",
|
||||
"lowlight": "^1.20.0",
|
||||
"prosemirror-model": "^1.15.0",
|
||||
"prosemirror-model": "^1.16.1",
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -24,7 +24,7 @@
|
||||
"@tiptap/core": "^2.0.0-beta.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"y-prosemirror": "^1.0.13"
|
||||
"y-prosemirror": "^1.0.14"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"y-prosemirror": "^1.0.13"
|
||||
"y-prosemirror": "^1.0.14"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"prosemirror-view": "^1.23.3",
|
||||
"prosemirror-view": "^1.23.5",
|
||||
"tippy.js": "^6.3.7"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/prosemirror-gapcursor": "^1.0.4",
|
||||
"prosemirror-gapcursor": "^1.2.0"
|
||||
"prosemirror-gapcursor": "^1.2.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -24,8 +24,8 @@
|
||||
"@tiptap/core": "^2.0.0-beta.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"linkifyjs": "^3.0.4",
|
||||
"prosemirror-model": "^1.15.0",
|
||||
"linkifyjs": "^3.0.5",
|
||||
"prosemirror-model": "^1.16.1",
|
||||
"prosemirror-state": "^1.3.4"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tiptap/suggestion": "^2.0.0-beta.85",
|
||||
"prosemirror-model": "^1.15.0",
|
||||
"prosemirror-model": "^1.16.1",
|
||||
"prosemirror-state": "^1.3.4"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -24,9 +24,9 @@
|
||||
"@tiptap/core": "^2.0.0-beta.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"prosemirror-model": "^1.15.0",
|
||||
"prosemirror-model": "^1.16.1",
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"prosemirror-tables": "^1.1.1",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -22,7 +22,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@tiptap/core": "^2.0.0-beta.159",
|
||||
"prosemirror-model": "^1.15.0",
|
||||
"prosemirror-model": "^1.16.1",
|
||||
"zeed-dom": "^0.9.19"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -21,7 +21,7 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react": "^17.0.38",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"react": "^17.0.0",
|
||||
"react-dom": "^17.0.0"
|
||||
@ -34,7 +34,7 @@
|
||||
"dependencies": {
|
||||
"@tiptap/extension-bubble-menu": "^2.0.0-beta.53",
|
||||
"@tiptap/extension-floating-menu": "^2.0.0-beta.48",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -24,9 +24,9 @@
|
||||
"@tiptap/core": "^2.0.0-beta.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"prosemirror-model": "^1.15.0",
|
||||
"prosemirror-model": "^1.16.1",
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -30,7 +30,7 @@
|
||||
"dependencies": {
|
||||
"@tiptap/extension-bubble-menu": "^2.0.0-beta.53",
|
||||
"@tiptap/extension-floating-menu": "^2.0.0-beta.48",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -31,7 +31,7 @@
|
||||
"@tiptap/extension-bubble-menu": "^2.0.0-beta.53",
|
||||
"@tiptap/extension-floating-menu": "^2.0.0-beta.48",
|
||||
"prosemirror-state": "^1.3.4",
|
||||
"prosemirror-view": "^1.23.3"
|
||||
"prosemirror-view": "^1.23.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user