Merge branch 'main' of github.com:ueberdosis/tiptap into main
This commit is contained in:
@@ -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 $/, '¯\\_(ツ)_/¯'),
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
@@ -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) {
|
||||||
if (this.node.isLeaf) {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!this.contentDOM) {
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
const contentDOMHasChanged = !this.contentDOM.contains(mutation.target)
|
// a leaf/atom node is like a black box for ProseMirror
|
||||||
|| (this.contentDOM === mutation.target && mutation.type === 'attributes')
|
// 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: {}) {
|
updateAttributes(attributes: {}) {
|
||||||
|
|||||||
12
packages/core/src/utilities/isiOS.ts
Normal file
12
packages/core/src/utilities/isiOS.ts
Normal 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)
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user