diff --git a/docs/src/demos/Examples/Savvy/SmilieReplacer.ts b/docs/src/demos/Examples/Savvy/SmilieReplacer.ts index 35fd8e2a..5b6c287a 100644 --- a/docs/src/demos/Examples/Savvy/SmilieReplacer.ts +++ b/docs/src/demos/Examples/Savvy/SmilieReplacer.ts @@ -6,129 +6,129 @@ export const SmilieReplacer = Extension.create({ addInputRules() { return [ - new InputRule(/-___- /, '๐Ÿ˜‘ '), - new InputRule(/:'-\) /, '๐Ÿ˜‚ '), - new InputRule(/':-\) /, '๐Ÿ˜… '), - new InputRule(/':-D /, '๐Ÿ˜… '), - new InputRule(/>:-\) /, '๐Ÿ˜† '), - new InputRule(/-__- /, '๐Ÿ˜‘ '), - new InputRule(/':-\( /, '๐Ÿ˜“ '), - new InputRule(/:'-\( /, '๐Ÿ˜ข '), - new InputRule(/>:-\( /, '๐Ÿ˜  '), - new InputRule(/O:-\) /, '๐Ÿ˜‡ '), - new InputRule(/0:-3 /, '๐Ÿ˜‡ '), - new InputRule(/0:-\) /, '๐Ÿ˜‡ '), - new InputRule(/0;\^\) /, '๐Ÿ˜‡ '), - new InputRule(/O;-\) /, '๐Ÿ˜‡ '), - new InputRule(/0;-\) /, '๐Ÿ˜‡ '), - new InputRule(/O:-3 /, '๐Ÿ˜‡ '), - new InputRule(/:'\) /, '๐Ÿ˜‚ '), - new InputRule(/:-D /, '๐Ÿ˜ƒ '), - 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(/B-\) /, '๐Ÿ˜Ž '), - new InputRule(/8-\) /, '๐Ÿ˜Ž '), - new InputRule(/B-D /, '๐Ÿ˜Ž '), - new InputRule(/8-D /, '๐Ÿ˜Ž '), - new InputRule(/:-\* /, '๐Ÿ˜˜ '), - new InputRule(/:\^\* /, '๐Ÿ˜˜ '), - new InputRule(/:-\) /, '๐Ÿ™‚ '), - new InputRule(/-_- /, '๐Ÿ˜‘ '), - new InputRule(/:-X /, '๐Ÿ˜ถ '), - new InputRule(/:-# /, '๐Ÿ˜ถ '), - new InputRule(/:-x /, '๐Ÿ˜ถ '), - new InputRule(/>.< /, '๐Ÿ˜ฃ '), - new InputRule(/:-O /, '๐Ÿ˜ฎ '), - new InputRule(/:-o /, '๐Ÿ˜ฎ '), - new InputRule(/O_O /, '๐Ÿ˜ฎ '), - new InputRule(/>:O /, '๐Ÿ˜ฎ '), - new InputRule(/:-P /, '๐Ÿ˜› '), - new InputRule(/:-p /, '๐Ÿ˜› '), - new InputRule(/:-รž /, '๐Ÿ˜› '), - new InputRule(/:-รพ /, '๐Ÿ˜› '), - new InputRule(/:-b /, '๐Ÿ˜› '), - new InputRule(/>: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(/X-\) /, '๐Ÿ˜ต '), - new InputRule(/>:\( /, '๐Ÿ˜  '), - new InputRule(/0:3 /, '๐Ÿ˜‡ '), - new InputRule(/0:\) /, '๐Ÿ˜‡ '), - new InputRule(/O:\) /, '๐Ÿ˜‡ '), - new InputRule(/O=\) /, '๐Ÿ˜‡ '), - new InputRule(/O:3 /, '๐Ÿ˜‡ '), - new InputRule(/<\/3 /, '๐Ÿ’” '), - new InputRule(/:D /, '๐Ÿ˜ƒ '), - new InputRule(/=D /, '๐Ÿ˜ƒ '), - new InputRule(/;\) /, '๐Ÿ˜‰ '), - new InputRule(/\*\) /, '๐Ÿ˜‰ '), - new InputRule(/;\] /, '๐Ÿ˜‰ '), - new InputRule(/;D /, '๐Ÿ˜‰ '), - new InputRule(/B\) /, '๐Ÿ˜Ž '), - new InputRule(/8\) /, '๐Ÿ˜Ž '), - new InputRule(/:\* /, '๐Ÿ˜˜ '), - new InputRule(/=\* /, '๐Ÿ˜˜ '), - new InputRule(/:\) /, '๐Ÿ™‚ '), - new InputRule(/=\] /, '๐Ÿ™‚ '), - new InputRule(/=\) /, '๐Ÿ™‚ '), - new InputRule(/:\] /, '๐Ÿ™‚ '), - new InputRule(/:X /, '๐Ÿ˜ถ '), - new InputRule(/:# /, '๐Ÿ˜ถ '), - new InputRule(/=X /, '๐Ÿ˜ถ '), - new InputRule(/=x /, '๐Ÿ˜ถ '), - new InputRule(/:x /, '๐Ÿ˜ถ '), - new InputRule(/=# /, '๐Ÿ˜ถ '), - new InputRule(/:O /, '๐Ÿ˜ฎ '), - new InputRule(/:o /, '๐Ÿ˜ฎ '), - new InputRule(/:P /, '๐Ÿ˜› '), - new InputRule(/=P /, '๐Ÿ˜› '), - new InputRule(/:p /, '๐Ÿ˜› '), - new InputRule(/=p /, '๐Ÿ˜› '), - new InputRule(/:รž /, '๐Ÿ˜› '), - new InputRule(/:รพ /, '๐Ÿ˜› '), - new InputRule(/:b /, '๐Ÿ˜› '), - new InputRule(/d: /, '๐Ÿ˜› '), - new InputRule(/:\/ /, '๐Ÿ˜• '), - new InputRule(/:\\ /, '๐Ÿ˜• '), - new InputRule(/=\/ /, '๐Ÿ˜• '), - new InputRule(/=\\ /, '๐Ÿ˜• '), - new InputRule(/:L /, '๐Ÿ˜• '), - new InputRule(/=L /, '๐Ÿ˜• '), - new InputRule(/:\( /, '๐Ÿ˜ž '), - new InputRule(/:\[ /, '๐Ÿ˜ž '), - new InputRule(/=\( /, '๐Ÿ˜ž '), - new InputRule(/;\( /, '๐Ÿ˜ข '), - new InputRule(/D: /, '๐Ÿ˜จ '), - new InputRule(/:\$ /, '๐Ÿ˜ณ '), - new InputRule(/=\$ /, '๐Ÿ˜ณ '), - new InputRule(/#\) /, '๐Ÿ˜ต '), - new InputRule(/%\) /, '๐Ÿ˜ต '), - new InputRule(/X\) /, '๐Ÿ˜ต '), - new InputRule(/:@ /, '๐Ÿ˜  '), - new InputRule(/<3 /, 'โค๏ธ '), - new InputRule(/\/shrug/, 'ยฏ\\_(ใƒ„)_/ยฏ'), + new InputRule(/-___- $/, '๐Ÿ˜‘ '), + new InputRule(/:'-\) $/, '๐Ÿ˜‚ '), + new InputRule(/':-\) $/, '๐Ÿ˜… '), + new InputRule(/':-D $/, '๐Ÿ˜… '), + new InputRule(/>:-\) $/, '๐Ÿ˜† '), + new InputRule(/-__- $/, '๐Ÿ˜‘ '), + new InputRule(/':-\( $/, '๐Ÿ˜“ '), + new InputRule(/:'-\( $/, '๐Ÿ˜ข '), + new InputRule(/>:-\( $/, '๐Ÿ˜  '), + new InputRule(/O:-\) $/, '๐Ÿ˜‡ '), + new InputRule(/0:-3 $/, '๐Ÿ˜‡ '), + new InputRule(/0:-\) $/, '๐Ÿ˜‡ '), + new InputRule(/0;\^\) $/, '๐Ÿ˜‡ '), + new InputRule(/O;-\) $/, '๐Ÿ˜‡ '), + new InputRule(/0;-\) $/, '๐Ÿ˜‡ '), + new InputRule(/O:-3 $/, '๐Ÿ˜‡ '), + new InputRule(/:'\) $/, '๐Ÿ˜‚ '), + new InputRule(/:-D $/, '๐Ÿ˜ƒ '), + 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(/B-\) $/, '๐Ÿ˜Ž '), + new InputRule(/8-\) $/, '๐Ÿ˜Ž '), + new InputRule(/B-D $/, '๐Ÿ˜Ž '), + new InputRule(/8-D $/, '๐Ÿ˜Ž '), + new InputRule(/:-\* $/, '๐Ÿ˜˜ '), + new InputRule(/:\^\* $/, '๐Ÿ˜˜ '), + new InputRule(/:-\) $/, '๐Ÿ™‚ '), + new InputRule(/-_- $/, '๐Ÿ˜‘ '), + new InputRule(/:-X $/, '๐Ÿ˜ถ '), + new InputRule(/:-# $/, '๐Ÿ˜ถ '), + new InputRule(/:-x $/, '๐Ÿ˜ถ '), + new InputRule(/>.< $/, '๐Ÿ˜ฃ '), + new InputRule(/:-O $/, '๐Ÿ˜ฎ '), + new InputRule(/:-o $/, '๐Ÿ˜ฎ '), + new InputRule(/O_O $/, '๐Ÿ˜ฎ '), + new InputRule(/>:O $/, '๐Ÿ˜ฎ '), + new InputRule(/:-P $/, '๐Ÿ˜› '), + new InputRule(/:-p $/, '๐Ÿ˜› '), + new InputRule(/:-รž $/, '๐Ÿ˜› '), + new InputRule(/:-รพ $/, '๐Ÿ˜› '), + new InputRule(/:-b $/, '๐Ÿ˜› '), + new InputRule(/>: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(/X-\) $/, '๐Ÿ˜ต '), + new InputRule(/>:\( $/, '๐Ÿ˜  '), + new InputRule(/0:3 $/, '๐Ÿ˜‡ '), + new InputRule(/0:\) $/, '๐Ÿ˜‡ '), + new InputRule(/O:\) $/, '๐Ÿ˜‡ '), + new InputRule(/O=\) $/, '๐Ÿ˜‡ '), + new InputRule(/O:3 $/, '๐Ÿ˜‡ '), + new InputRule(/<\/3 $/, '๐Ÿ’” '), + new InputRule(/:D $/, '๐Ÿ˜ƒ '), + new InputRule(/=D $/, '๐Ÿ˜ƒ '), + new InputRule(/;\) $/, '๐Ÿ˜‰ '), + new InputRule(/\*\) $/, '๐Ÿ˜‰ '), + new InputRule(/;\] $/, '๐Ÿ˜‰ '), + new InputRule(/;D $/, '๐Ÿ˜‰ '), + new InputRule(/B\) $/, '๐Ÿ˜Ž '), + new InputRule(/8\) $/, '๐Ÿ˜Ž '), + new InputRule(/:\* $/, '๐Ÿ˜˜ '), + new InputRule(/=\* $/, '๐Ÿ˜˜ '), + new InputRule(/:\) $/, '๐Ÿ™‚ '), + new InputRule(/=\] $/, '๐Ÿ™‚ '), + new InputRule(/=\) $/, '๐Ÿ™‚ '), + new InputRule(/:\] $/, '๐Ÿ™‚ '), + new InputRule(/:X $/, '๐Ÿ˜ถ '), + new InputRule(/:# $/, '๐Ÿ˜ถ '), + new InputRule(/=X $/, '๐Ÿ˜ถ '), + new InputRule(/=x $/, '๐Ÿ˜ถ '), + new InputRule(/:x $/, '๐Ÿ˜ถ '), + new InputRule(/=# $/, '๐Ÿ˜ถ '), + new InputRule(/:O $/, '๐Ÿ˜ฎ '), + new InputRule(/:o $/, '๐Ÿ˜ฎ '), + new InputRule(/:P $/, '๐Ÿ˜› '), + new InputRule(/=P $/, '๐Ÿ˜› '), + new InputRule(/:p $/, '๐Ÿ˜› '), + new InputRule(/=p $/, '๐Ÿ˜› '), + new InputRule(/:รž $/, '๐Ÿ˜› '), + new InputRule(/:รพ $/, '๐Ÿ˜› '), + new InputRule(/:b $/, '๐Ÿ˜› '), + new InputRule(/d: $/, '๐Ÿ˜› '), + new InputRule(/:\/ $/, '๐Ÿ˜• '), + new InputRule(/:\\ $/, '๐Ÿ˜• '), + new InputRule(/=\/ $/, '๐Ÿ˜• '), + new InputRule(/=\\ $/, '๐Ÿ˜• '), + new InputRule(/:L $/, '๐Ÿ˜• '), + new InputRule(/=L $/, '๐Ÿ˜• '), + new InputRule(/:\( $/, '๐Ÿ˜ž '), + new InputRule(/:\[ $/, '๐Ÿ˜ž '), + new InputRule(/=\( $/, '๐Ÿ˜ž '), + new InputRule(/;\( $/, '๐Ÿ˜ข '), + new InputRule(/D: $/, '๐Ÿ˜จ '), + new InputRule(/:\$ $/, '๐Ÿ˜ณ '), + new InputRule(/=\$ $/, '๐Ÿ˜ณ '), + new InputRule(/#\) $/, '๐Ÿ˜ต '), + new InputRule(/%\) $/, '๐Ÿ˜ต '), + new InputRule(/X\) $/, '๐Ÿ˜ต '), + new InputRule(/:@ $/, '๐Ÿ˜  '), + new InputRule(/<3 $/, 'โค๏ธ '), + new InputRule(/\/shrug $/, 'ยฏ\\_(ใƒ„)_/ยฏ'), ] }, }) diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index a57cded4..5cccf2dc 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,33 @@ All notable changes to this project will be documented in this file. 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) diff --git a/packages/core/package.json b/packages/core/package.json index d03254c3..79db90a9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/core", "description": "headless rich text editor", - "version": "2.0.0-beta.39", + "version": "2.0.0-beta.41", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", diff --git a/packages/core/src/Editor.ts b/packages/core/src/Editor.ts index 4bb38bc0..218d2d93 100644 --- a/packages/core/src/Editor.ts +++ b/packages/core/src/Editor.ts @@ -70,7 +70,7 @@ export class Editor extends EventEmitter { this.createExtensionManager() this.createCommandManager() this.createSchema() - this.on('beforeCreate', this.options.onCreate) + this.on('beforeCreate', this.options.onBeforeCreate) this.emit('beforeCreate', { editor: this }) this.createView() this.injectCSS() diff --git a/packages/core/src/NodeView.ts b/packages/core/src/NodeView.ts index f4bfe96f..3f72bb2a 100644 --- a/packages/core/src/NodeView.ts +++ b/packages/core/src/NodeView.ts @@ -3,6 +3,7 @@ import { NodeSelection } from 'prosemirror-state' import { Node as ProseMirrorNode } from 'prosemirror-model' import { Editor as CoreEditor } from './Editor' import { Node } from './Node' +import isiOS from './utilities/isiOS' import { NodeViewRendererProps } from './types' interface NodeViewRendererOptions { @@ -176,22 +177,50 @@ export class NodeView impleme } ignoreMutation(mutation: MutationRecord | { type: 'selection', target: Element }) { - if (mutation.type === 'selection') { - if (this.node.isLeaf) { - return true - } - - return false - } - - if (!this.contentDOM) { + if (!this.dom || !this.contentDOM) { return true } - const contentDOMHasChanged = !this.contentDOM.contains(mutation.target) - || (this.contentDOM === mutation.target && mutation.type === 'attributes') + // a leaf/atom node is like a black box for ProseMirror + // and should be fully handled by the node view + if (this.node.isLeaf) { + return true + } - return contentDOMHasChanged + // ProseMirror should handle any selections + if (mutation.type === 'selection') { + return false + } + + // try to prevent a bug on iOS that will break node views on enter + // this is because ProseMirror canโ€™t 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[] + + // weโ€™ll check if every changed node is contentEditable + // to make sure itโ€™s 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 + } + + // ProseMirror should handle any changes within contentDOM + if (this.contentDOM.contains(mutation.target)) { + return false + } + + return true } updateAttributes(attributes: {}) { diff --git a/packages/core/src/utilities/isiOS.ts b/packages/core/src/utilities/isiOS.ts new file mode 100644 index 00000000..7e611e1b --- /dev/null +++ b/packages/core/src/utilities/isiOS.ts @@ -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) +} diff --git a/packages/extension-mention/CHANGELOG.md b/packages/extension-mention/CHANGELOG.md index 3ef36a85..859abc54 100644 --- a/packages/extension-mention/CHANGELOG.md +++ b/packages/extension-mention/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. 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) **Note:** Version bump only for package @tiptap/extension-mention diff --git a/packages/extension-mention/package.json b/packages/extension-mention/package.json index 8a5b958a..13f12380 100644 --- a/packages/extension-mention/package.json +++ b/packages/extension-mention/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-mention", "description": "mention extension for tiptap", - "version": "2.0.0-beta.40", + "version": "2.0.0-beta.42", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -25,6 +25,6 @@ "@tiptap/core": "^2.0.0-beta.1" }, "dependencies": { - "@tiptap/suggestion": "^2.0.0-beta.40" + "@tiptap/suggestion": "^2.0.0-beta.42" } } diff --git a/packages/extension-table/CHANGELOG.md b/packages/extension-table/CHANGELOG.md index 5fc182b0..f94b8179 100644 --- a/packages/extension-table/CHANGELOG.md +++ b/packages/extension-table/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. 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) **Note:** Version bump only for package @tiptap/extension-table diff --git a/packages/extension-table/package.json b/packages/extension-table/package.json index d6647f6b..65acaf41 100644 --- a/packages/extension-table/package.json +++ b/packages/extension-table/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-table", "description": "table extension for tiptap", - "version": "2.0.0-beta.11", + "version": "2.0.0-beta.12", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", diff --git a/packages/html/CHANGELOG.md b/packages/html/CHANGELOG.md index afaf93c8..1cf0a93d 100644 --- a/packages/html/CHANGELOG.md +++ b/packages/html/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. 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) **Note:** Version bump only for package @tiptap/html diff --git a/packages/html/package.json b/packages/html/package.json index 442b504b..3dc135dd 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/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", "keywords": [ "tiptap", @@ -22,7 +22,7 @@ "dist" ], "dependencies": { - "@tiptap/core": "^2.0.0-beta.39", + "@tiptap/core": "^2.0.0-beta.41", "hostic-dom": "^0.8.6", "prosemirror-model": "^1.14.1" } diff --git a/packages/starter-kit/CHANGELOG.md b/packages/starter-kit/CHANGELOG.md index 95a276af..355c0dc5 100644 --- a/packages/starter-kit/CHANGELOG.md +++ b/packages/starter-kit/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. 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) **Note:** Version bump only for package @tiptap/starter-kit diff --git a/packages/starter-kit/package.json b/packages/starter-kit/package.json index 85098015..abc1d67d 100644 --- a/packages/starter-kit/package.json +++ b/packages/starter-kit/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/starter-kit", "description": "starter kit for tiptap", - "version": "2.0.0-beta.35", + "version": "2.0.0-beta.37", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -22,7 +22,7 @@ "dist" ], "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-bold": "^2.0.0-beta.6", "@tiptap/extension-bullet-list": "^2.0.0-beta.6", diff --git a/packages/suggestion/CHANGELOG.md b/packages/suggestion/CHANGELOG.md index b6671f81..348012db 100644 --- a/packages/suggestion/CHANGELOG.md +++ b/packages/suggestion/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. 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) **Note:** Version bump only for package @tiptap/suggestion diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index 9e3f0bc2..7e2bea80 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/suggestion", "description": "suggestion plugin for tiptap", - "version": "2.0.0-beta.40", + "version": "2.0.0-beta.42", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -22,7 +22,7 @@ "dist" ], "dependencies": { - "@tiptap/core": "^2.0.0-beta.39", + "@tiptap/core": "^2.0.0-beta.41", "prosemirror-model": "^1.14.1", "prosemirror-state": "^1.3.4", "prosemirror-view": "^1.18.2"