Merge branch 'main' of github.com:ueberdosis/tiptap into main

This commit is contained in:
Hans Pagel
2021-04-28 18:50:07 +02:00
16 changed files with 289 additions and 146 deletions

View File

@@ -6,129 +6,129 @@ export const SmilieReplacer = Extension.create({
addInputRules() { addInputRules() {
return [ return [
new InputRule(/-___- /, '😑 '), new InputRule(/-___- $/, '😑 '),
new InputRule(/:'-\) /, '😂 '), new InputRule(/:'-\) $/, '😂 '),
new InputRule(/':-\) /, '😅 '), new InputRule(/':-\) $/, '😅 '),
new InputRule(/':-D /, '😅 '), new InputRule(/':-D $/, '😅 '),
new InputRule(/>:-\) /, '😆 '), new InputRule(/>:-\) $/, '😆 '),
new InputRule(/-__- /, '😑 '), new InputRule(/-__- $/, '😑 '),
new InputRule(/':-\( /, '😓 '), new InputRule(/':-\( $/, '😓 '),
new InputRule(/:'-\( /, '😢 '), new InputRule(/:'-\( $/, '😢 '),
new InputRule(/>:-\( /, '😠 '), new InputRule(/>:-\( $/, '😠 '),
new InputRule(/O:-\) /, '😇 '), new InputRule(/O:-\) $/, '😇 '),
new InputRule(/0:-3 /, '😇 '), new InputRule(/0:-3 $/, '😇 '),
new InputRule(/0:-\) /, '😇 '), new InputRule(/0:-\) $/, '😇 '),
new InputRule(/0;\^\) /, '😇 '), new InputRule(/0;\^\) $/, '😇 '),
new InputRule(/O;-\) /, '😇 '), new InputRule(/O;-\) $/, '😇 '),
new InputRule(/0;-\) /, '😇 '), new InputRule(/0;-\) $/, '😇 '),
new InputRule(/O:-3 /, '😇 '), new InputRule(/O:-3 $/, '😇 '),
new InputRule(/:'\) /, '😂 '), new InputRule(/:'\) $/, '😂 '),
new InputRule(/:-D /, '😃 '), new InputRule(/:-D $/, '😃 '),
new InputRule(/':\) /, '😅 '), new InputRule(/':\) $/, '😅 '),
new InputRule(/'=\) /, '😅 '), new InputRule(/'=\) $/, '😅 '),
new InputRule(/':D /, '😅 '), new InputRule(/':D $/, '😅 '),
new InputRule(/'=D /, '😅 '), new InputRule(/'=D $/, '😅 '),
new InputRule(/>:\) /, '😆 '), new InputRule(/>:\) $/, '😆 '),
new InputRule(/>;\) /, '😆 '), new InputRule(/>;\) $/, '😆 '),
new InputRule(/>=\) /, '😆 '), new InputRule(/>=\) $/, '😆 '),
new InputRule(/;-\) /, '😉 '), new InputRule(/;-\) $/, '😉 '),
new InputRule(/\*-\) /, '😉 '), new InputRule(/\*-\) $/, '😉 '),
new InputRule(/;-\] /, '😉 '), new InputRule(/;-\] $/, '😉 '),
new InputRule(/;\^\) /, '😉 '), new InputRule(/;\^\) $/, '😉 '),
new InputRule(/B-\) /, '😎 '), new InputRule(/B-\) $/, '😎 '),
new InputRule(/8-\) /, '😎 '), new InputRule(/8-\) $/, '😎 '),
new InputRule(/B-D /, '😎 '), new InputRule(/B-D $/, '😎 '),
new InputRule(/8-D /, '😎 '), new InputRule(/8-D $/, '😎 '),
new InputRule(/:-\* /, '😘 '), new InputRule(/:-\* $/, '😘 '),
new InputRule(/:\^\* /, '😘 '), new InputRule(/:\^\* $/, '😘 '),
new InputRule(/:-\) /, '🙂 '), new InputRule(/:-\) $/, '🙂 '),
new InputRule(/-_- /, '😑 '), new InputRule(/-_- $/, '😑 '),
new InputRule(/:-X /, '😶 '), new InputRule(/:-X $/, '😶 '),
new InputRule(/:-# /, '😶 '), new InputRule(/:-# $/, '😶 '),
new InputRule(/:-x /, '😶 '), new InputRule(/:-x $/, '😶 '),
new InputRule(/>.< /, '😣 '), new InputRule(/>.< $/, '😣 '),
new InputRule(/:-O /, '😮 '), new InputRule(/:-O $/, '😮 '),
new InputRule(/:-o /, '😮 '), new InputRule(/:-o $/, '😮 '),
new InputRule(/O_O /, '😮 '), new InputRule(/O_O $/, '😮 '),
new InputRule(/>:O /, '😮 '), new InputRule(/>:O $/, '😮 '),
new InputRule(/:-P /, '😛 '), new InputRule(/:-P $/, '😛 '),
new InputRule(/:-p /, '😛 '), new InputRule(/:-p $/, '😛 '),
new InputRule(/:-Þ /, '😛 '), new InputRule(/:-Þ $/, '😛 '),
new InputRule(/:-þ /, '😛 '), new InputRule(/:-þ $/, '😛 '),
new InputRule(/:-b /, '😛 '), new InputRule(/:-b $/, '😛 '),
new InputRule(/>:P /, '😜 '), new InputRule(/>:P $/, '😜 '),
new InputRule(/X-P /, '😜 '), new InputRule(/X-P $/, '😜 '),
new InputRule(/x-p /, '😜 '), new InputRule(/x-p $/, '😜 '),
new InputRule(/':\( /, '😓 '), new InputRule(/':\( $/, '😓 '),
new InputRule(/'=\( /, '😓 '), new InputRule(/'=\( $/, '😓 '),
new InputRule(/>:\\ /, '😕 '), new InputRule(/>:\\ $/, '😕 '),
new InputRule(/>:\/ /, '😕 '), new InputRule(/>:\/ $/, '😕 '),
new InputRule(/:-\/ /, '😕 '), new InputRule(/:-\/ $/, '😕 '),
new InputRule(/:-. /, '😕 '), new InputRule(/:-. $/, '😕 '),
new InputRule(/>:\[ /, '😞 '), new InputRule(/>:\[ $/, '😞 '),
new InputRule(/:-\( /, '😞 '), new InputRule(/:-\( $/, '😞 '),
new InputRule(/:-\[ /, '😞 '), new InputRule(/:-\[ $/, '😞 '),
new InputRule(/:'\( /, '😢 '), new InputRule(/:'\( $/, '😢 '),
new InputRule(/;-\( /, '😢 '), new InputRule(/;-\( $/, '😢 '),
new InputRule(/#-\) /, '😵 '), new InputRule(/#-\) $/, '😵 '),
new InputRule(/%-\) /, '😵 '), new InputRule(/%-\) $/, '😵 '),
new InputRule(/X-\) /, '😵 '), new InputRule(/X-\) $/, '😵 '),
new InputRule(/>:\( /, '😠 '), new InputRule(/>:\( $/, '😠 '),
new InputRule(/0:3 /, '😇 '), new InputRule(/0:3 $/, '😇 '),
new InputRule(/0:\) /, '😇 '), new InputRule(/0:\) $/, '😇 '),
new InputRule(/O:\) /, '😇 '), new InputRule(/O:\) $/, '😇 '),
new InputRule(/O=\) /, '😇 '), new InputRule(/O=\) $/, '😇 '),
new InputRule(/O:3 /, '😇 '), new InputRule(/O:3 $/, '😇 '),
new InputRule(/<\/3 /, '💔 '), new InputRule(/<\/3 $/, '💔 '),
new InputRule(/:D /, '😃 '), new InputRule(/:D $/, '😃 '),
new InputRule(/=D /, '😃 '), new InputRule(/=D $/, '😃 '),
new InputRule(/;\) /, '😉 '), new InputRule(/;\) $/, '😉 '),
new InputRule(/\*\) /, '😉 '), new InputRule(/\*\) $/, '😉 '),
new InputRule(/;\] /, '😉 '), new InputRule(/;\] $/, '😉 '),
new InputRule(/;D /, '😉 '), new InputRule(/;D $/, '😉 '),
new InputRule(/B\) /, '😎 '), new InputRule(/B\) $/, '😎 '),
new InputRule(/8\) /, '😎 '), new InputRule(/8\) $/, '😎 '),
new InputRule(/:\* /, '😘 '), new InputRule(/:\* $/, '😘 '),
new InputRule(/=\* /, '😘 '), new InputRule(/=\* $/, '😘 '),
new InputRule(/:\) /, '🙂 '), new InputRule(/:\) $/, '🙂 '),
new InputRule(/=\] /, '🙂 '), new InputRule(/=\] $/, '🙂 '),
new InputRule(/=\) /, '🙂 '), new InputRule(/=\) $/, '🙂 '),
new InputRule(/:\] /, '🙂 '), new InputRule(/:\] $/, '🙂 '),
new InputRule(/:X /, '😶 '), new InputRule(/:X $/, '😶 '),
new InputRule(/:# /, '😶 '), new InputRule(/:# $/, '😶 '),
new InputRule(/=X /, '😶 '), new InputRule(/=X $/, '😶 '),
new InputRule(/=x /, '😶 '), new InputRule(/=x $/, '😶 '),
new InputRule(/:x /, '😶 '), new InputRule(/:x $/, '😶 '),
new InputRule(/=# /, '😶 '), new InputRule(/=# $/, '😶 '),
new InputRule(/:O /, '😮 '), new InputRule(/:O $/, '😮 '),
new InputRule(/:o /, '😮 '), new InputRule(/:o $/, '😮 '),
new InputRule(/:P /, '😛 '), new InputRule(/:P $/, '😛 '),
new InputRule(/=P /, '😛 '), new InputRule(/=P $/, '😛 '),
new InputRule(/:p /, '😛 '), new InputRule(/:p $/, '😛 '),
new InputRule(/=p /, '😛 '), new InputRule(/=p $/, '😛 '),
new InputRule(/:Þ /, '😛 '), new InputRule(/:Þ $/, '😛 '),
new InputRule(/:þ /, '😛 '), new InputRule(/:þ $/, '😛 '),
new InputRule(/:b /, '😛 '), new InputRule(/:b $/, '😛 '),
new InputRule(/d: /, '😛 '), new InputRule(/d: $/, '😛 '),
new InputRule(/:\/ /, '😕 '), new InputRule(/:\/ $/, '😕 '),
new InputRule(/:\\ /, '😕 '), new InputRule(/:\\ $/, '😕 '),
new InputRule(/=\/ /, '😕 '), new InputRule(/=\/ $/, '😕 '),
new InputRule(/=\\ /, '😕 '), new InputRule(/=\\ $/, '😕 '),
new InputRule(/:L /, '😕 '), new InputRule(/:L $/, '😕 '),
new InputRule(/=L /, '😕 '), new InputRule(/=L $/, '😕 '),
new InputRule(/:\( /, '😞 '), new InputRule(/:\( $/, '😞 '),
new InputRule(/:\[ /, '😞 '), new InputRule(/:\[ $/, '😞 '),
new InputRule(/=\( /, '😞 '), new InputRule(/=\( $/, '😞 '),
new InputRule(/;\( /, '😢 '), new InputRule(/;\( $/, '😢 '),
new InputRule(/D: /, '😨 '), new InputRule(/D: $/, '😨 '),
new InputRule(/:\$ /, '😳 '), new InputRule(/:\$ $/, '😳 '),
new InputRule(/=\$ /, '😳 '), new InputRule(/=\$ $/, '😳 '),
new InputRule(/#\) /, '😵 '), new InputRule(/#\) $/, '😵 '),
new InputRule(/%\) /, '😵 '), new InputRule(/%\) $/, '😵 '),
new InputRule(/X\) /, '😵 '), new InputRule(/X\) $/, '😵 '),
new InputRule(/:@ /, '😠 '), new InputRule(/:@ $/, '😠 '),
new InputRule(/<3 /, '❤️ '), new InputRule(/<3 $/, '❤️ '),
new InputRule(/\/shrug/, '¯\\_(ツ)_/¯'), new InputRule(/\/shrug $/, '¯\\_(ツ)_/¯'),
] ]
}, },
}) })

View File

@@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-beta.41](https://github.com/ueberdosis/tiptap/compare/@tiptap/core@2.0.0-beta.40...@tiptap/core@2.0.0-beta.41) (2021-04-27)
### Bug Fixes
* fix onBeforeCreate event handler, fix [#1236](https://github.com/ueberdosis/tiptap/issues/1236) ([0b67f18](https://github.com/ueberdosis/tiptap/commit/0b67f18e3a109609cd9b2371396c5f6b8ed85f96))
# [2.0.0-beta.40](https://github.com/ueberdosis/tiptap/compare/@tiptap/core@2.0.0-beta.39...@tiptap/core@2.0.0-beta.40) (2021-04-27)
### Bug Fixes
* prevent a bug for node views when pressing enter on iOS, fix [#1214](https://github.com/ueberdosis/tiptap/issues/1214) ([234d238](https://github.com/ueberdosis/tiptap/commit/234d23887bfcb19c3591deb391688ec9d4e49a8a))
### Features
* add setNodeSelection and setTextSelection commands ([811bf69](https://github.com/ueberdosis/tiptap/commit/811bf693eb5b927ec5f8120b56b2ae92f5ba2734))
# [2.0.0-beta.39](https://github.com/ueberdosis/tiptap/compare/@tiptap/core@2.0.0-beta.38...@tiptap/core@2.0.0-beta.39) (2021-04-27) # [2.0.0-beta.39](https://github.com/ueberdosis/tiptap/compare/@tiptap/core@2.0.0-beta.38...@tiptap/core@2.0.0-beta.39) (2021-04-27)

View File

@@ -1,7 +1,7 @@
{ {
"name": "@tiptap/core", "name": "@tiptap/core",
"description": "headless rich text editor", "description": "headless rich text editor",
"version": "2.0.0-beta.39", "version": "2.0.0-beta.41",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": [ "keywords": [
"tiptap", "tiptap",

View File

@@ -70,7 +70,7 @@ export class Editor extends EventEmitter {
this.createExtensionManager() this.createExtensionManager()
this.createCommandManager() this.createCommandManager()
this.createSchema() this.createSchema()
this.on('beforeCreate', this.options.onCreate) this.on('beforeCreate', this.options.onBeforeCreate)
this.emit('beforeCreate', { editor: this }) this.emit('beforeCreate', { editor: this })
this.createView() this.createView()
this.injectCSS() this.injectCSS()

View File

@@ -3,6 +3,7 @@ import { NodeSelection } from 'prosemirror-state'
import { Node as ProseMirrorNode } from 'prosemirror-model' import { Node as ProseMirrorNode } from 'prosemirror-model'
import { Editor as CoreEditor } from './Editor' import { Editor as CoreEditor } from './Editor'
import { Node } from './Node' import { Node } from './Node'
import isiOS from './utilities/isiOS'
import { NodeViewRendererProps } from './types' import { NodeViewRendererProps } from './types'
interface NodeViewRendererOptions { interface NodeViewRendererOptions {
@@ -176,22 +177,50 @@ export class NodeView<Component, Editor extends CoreEditor = CoreEditor> impleme
} }
ignoreMutation(mutation: MutationRecord | { type: 'selection', target: Element }) { ignoreMutation(mutation: MutationRecord | { type: 'selection', target: Element }) {
if (mutation.type === 'selection') { if (!this.dom || !this.contentDOM) {
return true
}
// a leaf/atom node is like a black box for ProseMirror
// and should be fully handled by the node view
if (this.node.isLeaf) { if (this.node.isLeaf) {
return true return true
} }
// ProseMirror should handle any selections
if (mutation.type === 'selection') {
return false return false
} }
if (!this.contentDOM) { // try to prevent a bug on iOS that will break node views on enter
// this is because ProseMirror cant preventDispatch on enter
// this will lead to a re-render of the node view on enter
// see: https://github.com/ueberdosis/tiptap/issues/1214
if (this.dom.contains(mutation.target) && mutation.type === 'childList' && isiOS()) {
const changedNodes = [
...Array.from(mutation.addedNodes),
...Array.from(mutation.removedNodes),
] as HTMLElement[]
// well check if every changed node is contentEditable
// to make sure its probably mutated by ProseMirror
if (changedNodes.every(node => node.isContentEditable)) {
return false
}
}
// we will allow mutation contentDOM with attributes
// so we can for example adding classes within our node view
if (this.contentDOM === mutation.target && mutation.type === 'attributes') {
return true return true
} }
const contentDOMHasChanged = !this.contentDOM.contains(mutation.target) // ProseMirror should handle any changes within contentDOM
|| (this.contentDOM === mutation.target && mutation.type === 'attributes') if (this.contentDOM.contains(mutation.target)) {
return false
}
return contentDOMHasChanged return true
} }
updateAttributes(attributes: {}) { updateAttributes(attributes: {}) {

View File

@@ -0,0 +1,12 @@
export default function isiOS(): boolean {
return [
'iPad Simulator',
'iPhone Simulator',
'iPod Simulator',
'iPad',
'iPhone',
'iPod',
].includes(navigator.platform)
// iPad on iOS 13 detection
|| (navigator.userAgent.includes('Mac') && 'ontouchend' in document)
}

View File

@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-beta.42](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-mention@2.0.0-beta.41...@tiptap/extension-mention@2.0.0-beta.42) (2021-04-27)
**Note:** Version bump only for package @tiptap/extension-mention
# [2.0.0-beta.41](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-mention@2.0.0-beta.40...@tiptap/extension-mention@2.0.0-beta.41) (2021-04-27)
**Note:** Version bump only for package @tiptap/extension-mention
# [2.0.0-beta.40](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-mention@2.0.0-beta.39...@tiptap/extension-mention@2.0.0-beta.40) (2021-04-27) # [2.0.0-beta.40](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-mention@2.0.0-beta.39...@tiptap/extension-mention@2.0.0-beta.40) (2021-04-27)
**Note:** Version bump only for package @tiptap/extension-mention **Note:** Version bump only for package @tiptap/extension-mention

View File

@@ -1,7 +1,7 @@
{ {
"name": "@tiptap/extension-mention", "name": "@tiptap/extension-mention",
"description": "mention extension for tiptap", "description": "mention extension for tiptap",
"version": "2.0.0-beta.40", "version": "2.0.0-beta.42",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": [ "keywords": [
"tiptap", "tiptap",
@@ -25,6 +25,6 @@
"@tiptap/core": "^2.0.0-beta.1" "@tiptap/core": "^2.0.0-beta.1"
}, },
"dependencies": { "dependencies": {
"@tiptap/suggestion": "^2.0.0-beta.40" "@tiptap/suggestion": "^2.0.0-beta.42"
} }
} }

View File

@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-beta.12](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table@2.0.0-beta.11...@tiptap/extension-table@2.0.0-beta.12) (2021-04-27)
### Features
* add setCellSelection command ([eb7e92f](https://github.com/ueberdosis/tiptap/commit/eb7e92f10aff60e68cae613750903eb0adce5933))
# [2.0.0-beta.11](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table@2.0.0-beta.10...@tiptap/extension-table@2.0.0-beta.11) (2021-04-23) # [2.0.0-beta.11](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table@2.0.0-beta.10...@tiptap/extension-table@2.0.0-beta.11) (2021-04-23)
**Note:** Version bump only for package @tiptap/extension-table **Note:** Version bump only for package @tiptap/extension-table

View File

@@ -1,7 +1,7 @@
{ {
"name": "@tiptap/extension-table", "name": "@tiptap/extension-table",
"description": "table extension for tiptap", "description": "table extension for tiptap",
"version": "2.0.0-beta.11", "version": "2.0.0-beta.12",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": [ "keywords": [
"tiptap", "tiptap",

View File

@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-beta.41](https://github.com/ueberdosis/tiptap/compare/@tiptap/html@2.0.0-beta.40...@tiptap/html@2.0.0-beta.41) (2021-04-27)
**Note:** Version bump only for package @tiptap/html
# [2.0.0-beta.40](https://github.com/ueberdosis/tiptap/compare/@tiptap/html@2.0.0-beta.39...@tiptap/html@2.0.0-beta.40) (2021-04-27)
**Note:** Version bump only for package @tiptap/html
# [2.0.0-beta.39](https://github.com/ueberdosis/tiptap/compare/@tiptap/html@2.0.0-beta.38...@tiptap/html@2.0.0-beta.39) (2021-04-27) # [2.0.0-beta.39](https://github.com/ueberdosis/tiptap/compare/@tiptap/html@2.0.0-beta.38...@tiptap/html@2.0.0-beta.39) (2021-04-27)
**Note:** Version bump only for package @tiptap/html **Note:** Version bump only for package @tiptap/html

View File

@@ -1,7 +1,7 @@
{ {
"name": "@tiptap/html", "name": "@tiptap/html",
"description": "utility package to render tiptap JSON as HTML", "description": "utility package to render tiptap JSON as HTML",
"version": "2.0.0-beta.39", "version": "2.0.0-beta.41",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": [ "keywords": [
"tiptap", "tiptap",
@@ -22,7 +22,7 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@tiptap/core": "^2.0.0-beta.39", "@tiptap/core": "^2.0.0-beta.41",
"hostic-dom": "^0.8.6", "hostic-dom": "^0.8.6",
"prosemirror-model": "^1.14.1" "prosemirror-model": "^1.14.1"
} }

View File

@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-beta.37](https://github.com/ueberdosis/tiptap/compare/@tiptap/starter-kit@2.0.0-beta.36...@tiptap/starter-kit@2.0.0-beta.37) (2021-04-27)
**Note:** Version bump only for package @tiptap/starter-kit
# [2.0.0-beta.36](https://github.com/ueberdosis/tiptap/compare/@tiptap/starter-kit@2.0.0-beta.35...@tiptap/starter-kit@2.0.0-beta.36) (2021-04-27)
**Note:** Version bump only for package @tiptap/starter-kit
# [2.0.0-beta.35](https://github.com/ueberdosis/tiptap/compare/@tiptap/starter-kit@2.0.0-beta.34...@tiptap/starter-kit@2.0.0-beta.35) (2021-04-27) # [2.0.0-beta.35](https://github.com/ueberdosis/tiptap/compare/@tiptap/starter-kit@2.0.0-beta.34...@tiptap/starter-kit@2.0.0-beta.35) (2021-04-27)
**Note:** Version bump only for package @tiptap/starter-kit **Note:** Version bump only for package @tiptap/starter-kit

View File

@@ -1,7 +1,7 @@
{ {
"name": "@tiptap/starter-kit", "name": "@tiptap/starter-kit",
"description": "starter kit for tiptap", "description": "starter kit for tiptap",
"version": "2.0.0-beta.35", "version": "2.0.0-beta.37",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": [ "keywords": [
"tiptap", "tiptap",
@@ -22,7 +22,7 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@tiptap/core": "^2.0.0-beta.39", "@tiptap/core": "^2.0.0-beta.41",
"@tiptap/extension-blockquote": "^2.0.0-beta.6", "@tiptap/extension-blockquote": "^2.0.0-beta.6",
"@tiptap/extension-bold": "^2.0.0-beta.6", "@tiptap/extension-bold": "^2.0.0-beta.6",
"@tiptap/extension-bullet-list": "^2.0.0-beta.6", "@tiptap/extension-bullet-list": "^2.0.0-beta.6",

View File

@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-beta.42](https://github.com/ueberdosis/tiptap/compare/@tiptap/suggestion@2.0.0-beta.41...@tiptap/suggestion@2.0.0-beta.42) (2021-04-27)
**Note:** Version bump only for package @tiptap/suggestion
# [2.0.0-beta.41](https://github.com/ueberdosis/tiptap/compare/@tiptap/suggestion@2.0.0-beta.40...@tiptap/suggestion@2.0.0-beta.41) (2021-04-27)
**Note:** Version bump only for package @tiptap/suggestion
# [2.0.0-beta.40](https://github.com/ueberdosis/tiptap/compare/@tiptap/suggestion@2.0.0-beta.39...@tiptap/suggestion@2.0.0-beta.40) (2021-04-27) # [2.0.0-beta.40](https://github.com/ueberdosis/tiptap/compare/@tiptap/suggestion@2.0.0-beta.39...@tiptap/suggestion@2.0.0-beta.40) (2021-04-27)
**Note:** Version bump only for package @tiptap/suggestion **Note:** Version bump only for package @tiptap/suggestion

View File

@@ -1,7 +1,7 @@
{ {
"name": "@tiptap/suggestion", "name": "@tiptap/suggestion",
"description": "suggestion plugin for tiptap", "description": "suggestion plugin for tiptap",
"version": "2.0.0-beta.40", "version": "2.0.0-beta.42",
"homepage": "https://tiptap.dev", "homepage": "https://tiptap.dev",
"keywords": [ "keywords": [
"tiptap", "tiptap",
@@ -22,7 +22,7 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@tiptap/core": "^2.0.0-beta.39", "@tiptap/core": "^2.0.0-beta.41",
"prosemirror-model": "^1.14.1", "prosemirror-model": "^1.14.1",
"prosemirror-state": "^1.3.4", "prosemirror-state": "^1.3.4",
"prosemirror-view": "^1.18.2" "prosemirror-view": "^1.18.2"