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

This commit is contained in:
Hans Pagel
2021-03-28 21:57:15 +02:00
41 changed files with 570 additions and 72 deletions

View File

@@ -0,0 +1,158 @@
import { Extension } from '@tiptap/core'
import { NodeSelection, Plugin } from 'prosemirror-state'
import { serializeForClipboard } from 'prosemirror-view/src/clipboard'
function removeNode(node) {
node.parentNode.removeChild(node)
}
function absoluteRect(node) {
const data = node.getBoundingClientRect()
return {
top: data.top,
left: data.left,
width: data.width,
}
}
export default Extension.create({
addProseMirrorPlugins() {
function blockPosAtCoords(coords, view) {
const pos = view.posAtCoords(coords)
let node = view.domAtPos(pos.pos)
node = node.node
while (node && node.parentNode) {
if (node.parentNode?.classList?.contains('ProseMirror')) { // todo
break
}
node = node.parentNode
}
if (node && node.nodeType === 1) {
const desc = view.docView.nearestDesc(node, true)
if (!(!desc || desc === view.docView)) {
return desc.posBefore
}
}
return null
}
function dragStart(e, view) {
view.composing = true
if (!e.dataTransfer) {
return
}
const coords = { left: e.clientX + 50, top: e.clientY }
const pos = blockPosAtCoords(coords, view)
if (pos != null) {
view.dispatch(view.state.tr.setSelection(NodeSelection.create(view.state.doc, pos)))
const slice = view.state.selection.content()
const { dom, text } = serializeForClipboard(view, slice)
e.dataTransfer.clearData()
e.dataTransfer.setData('text/html', dom.innerHTML)
e.dataTransfer.setData('text/plain', text)
const el = document.querySelector('.ProseMirror-selectednode')
e.dataTransfer?.setDragImage(el, 0, 0)
view.dragging = { slice, move: true }
}
}
let dropElement
const WIDTH = 28
return [
new Plugin({
view(editorView) {
const element = document.createElement('div')
element.draggable = 'true'
element.classList.add('global-drag-handle')
element.addEventListener('dragstart', e => dragStart(e, editorView))
dropElement = element
document.body.appendChild(dropElement)
return {
// update(view, prevState) {
// },
destroy() {
removeNode(dropElement)
dropElement = null
},
}
},
props: {
handleDrop(view, event, slice, moved) {
if (moved) {
// setTimeout(() => {
// console.log('remove selection')
// view.dispatch(view.state.tr.deleteSelection())
// }, 50)
}
},
// handlePaste() {
// alert(2)
// },
handleDOMEvents: {
// drop(view, event) {
// setTimeout(() => {
// const node = document.querySelector('.ProseMirror-hideselection')
// if (node) {
// node.classList.remove('ProseMirror-hideselection')
// }
// }, 50)
// },
mousemove(view, event) {
const coords = {
left: event.clientX + WIDTH + 50,
top: event.clientY,
}
const pos = view.posAtCoords(coords)
if (pos) {
let node = view.domAtPos(pos?.pos)
if (node) {
node = node.node
while (node && node.parentNode) {
if (node.parentNode?.classList?.contains('ProseMirror')) { // todo
break
}
node = node.parentNode
}
if (node instanceof Element) {
const cstyle = window.getComputedStyle(node)
const lineHeight = parseInt(cstyle.lineHeight, 10)
// const top = parseInt(cstyle.marginTop, 10) + parseInt(cstyle.paddingTop, 10)
const top = 0
const rect = absoluteRect(node)
const win = node.ownerDocument.defaultView
rect.top += win.pageYOffset + ((lineHeight - 24) / 2) + top
rect.left += win.pageXOffset
rect.width = `${WIDTH}px`
dropElement.style.left = `${-WIDTH + rect.left}px`
dropElement.style.top = `${rect.top}px`
}
}
}
},
},
},
}),
]
},
})

View File

@@ -0,0 +1,133 @@
<template>
<div v-if="editor">
<editor-content :editor="editor" />
</div>
</template>
<script>
import { Editor, EditorContent, defaultExtensions } from '@tiptap/vue-starter-kit'
import DragHandle from './DragHandle.js'
export default {
components: {
EditorContent,
},
data() {
return {
editor: null,
}
},
mounted() {
this.editor = new Editor({
extensions: [
...defaultExtensions(),
DragHandle,
],
content: `
<p>paragraph 1</p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<ul>
<li>list item 1</li>
<li>list item 2</li>
</ul>
<pre>code</pre>
`,
onUpdate: () => {
console.log(this.editor.getHTML())
},
})
},
beforeDestroy() {
this.editor.destroy()
},
}
</script>
<style lang="scss">
.global-drag-handle {
position: absolute;
&::after {
display: flex;
align-items: center;
justify-content: center;
width: 1rem;
height: 1.25rem;
content: '⠿';
font-weight: 700;
cursor: grab;
background:#0D0D0D10;
color: #0D0D0D50;
border-radius: 0.25rem;
}
}
</style>
<style lang="scss" scoped>
::v-deep {
.ProseMirror {
padding: 0 1rem;
> * + * {
margin-top: 0.75em;
}
ul,
ol {
padding: 0 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.1;
}
code {
background-color: rgba(#616161, 0.1);
color: #616161;
}
pre {
background: #0D0D0D;
color: #FFF;
font-family: 'JetBrainsMono', monospace;
padding: 0.75rem 1rem;
border-radius: 0.5rem;
code {
color: inherit;
background: none;
font-size: 0.8rem;
}
}
img {
max-width: 100%;
height: auto;
}
blockquote {
padding-left: 1rem;
border-left: 2px solid rgba(#0D0D0D, 0.1);
}
hr {
border: none;
border-top: 2px solid rgba(#0D0D0D, 0.1);
margin: 2rem 0;
}
}
.ProseMirror-selectednode {
outline: 2px solid #70CFF8;
}
}
</style>

View File

@@ -9,14 +9,6 @@ export default Node.create({
content: 'inline*',
addAttributes() {
return {
count: {
default: 0,
},
}
},
parseHTML() {
return [
{

View File

@@ -4,6 +4,7 @@ Congratulations! Youve found our playground with a list of experiments. Be aw
## New
* [Linter](/experiments/linter)
* [Multiple editors](/experiments/multiple-editors)
* [Global drag handle](/experiments/global-drag-handle)
* [@tiptap/extension-slash-command?](/experiments/commands)
* [@tiptap/extension-iframe?](/experiments/embeds)
* [@tiptap/extension-toggle-list?](/experiments/details)

View File

@@ -0,0 +1,5 @@
# GlobalDragHandle
⚠️ Experiment
<demo name="Experiments/GlobalDragHandle" />

View File

@@ -3,6 +3,30 @@
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.9](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-beta.8...@tiptap/core@2.0.0-beta.9) (2021-03-28)
**Note:** Version bump only for package @tiptap/core
# [2.0.0-beta.8](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-beta.7...@tiptap/core@2.0.0-beta.8) (2021-03-28)
**Note:** Version bump only for package @tiptap/core
# [2.0.0-beta.7](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-beta.6...@tiptap/core@2.0.0-beta.7) (2021-03-28)
**Note:** Version bump only for package @tiptap/core
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/core@2.0.0-beta.5...@tiptap/core@2.0.0-beta.6) (2021-03-24)
**Note:** Version bump only for package @tiptap/core

View File

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

View File

@@ -14,9 +14,10 @@ declare module '@tiptap/core' {
export const clearNodes: RawCommands['clearNodes'] = () => ({ state, tr, dispatch }) => {
const { selection } = tr
const { from, to } = selection
const { ranges } = selection
state.doc.nodesBetween(from, to, (node, pos) => {
ranges.forEach(range => {
state.doc.nodesBetween(range.$from.pos, range.$to.pos, (node, pos) => {
if (!node.type.isText) {
const fromPos = tr.doc.resolve(tr.mapping.map(pos + 1))
const toPos = tr.doc.resolve(tr.mapping.map(pos + node.nodeSize - 1))
@@ -35,6 +36,7 @@ export const clearNodes: RawCommands['clearNodes'] = () => ({ state, tr, dispatc
}
}
})
})
return true
}

View File

@@ -17,13 +17,15 @@ declare module '@tiptap/core' {
export const resetNodeAttributes: RawCommands['resetNodeAttributes'] = (typeOrName, attributes) => ({ tr, state, dispatch }) => {
const type = getNodeType(typeOrName, state.schema)
const { selection } = tr
const { from, to } = selection
const { ranges } = selection
state.doc.nodesBetween(from, to, (node, pos) => {
ranges.forEach(range => {
state.doc.nodesBetween(range.$from.pos, range.$to.pos, (node, pos) => {
if (node.type === type && dispatch) {
tr.setNodeMarkup(pos, undefined, deleteProps(node.attrs, attributes))
}
})
})
return true
}

View File

@@ -16,7 +16,7 @@ declare module '@tiptap/core' {
export const setMark: RawCommands['setMark'] = (typeOrName, attributes = {}) => ({ tr, state, dispatch }) => {
const { selection } = tr
const { from, to, empty } = selection
const { empty, ranges } = selection
const type = getMarkType(typeOrName, state.schema)
const oldAttributes = getMarkAttributes(state, type)
const newAttributes = {
@@ -28,7 +28,9 @@ export const setMark: RawCommands['setMark'] = (typeOrName, attributes = {}) =>
if (empty) {
tr.addStoredMark(type.create(newAttributes))
} else {
tr.addMark(from, to, type.create(newAttributes))
ranges.forEach(range => {
tr.addMark(range.$from.pos, range.$to.pos, type.create(newAttributes))
})
}
}

View File

@@ -13,7 +13,7 @@ declare module '@tiptap/core' {
export const unsetAllMarks: RawCommands['unsetAllMarks'] = () => ({ tr, state, dispatch }) => {
const { selection } = tr
const { from, to, empty } = selection
const { empty, ranges } = selection
if (empty) {
return true
@@ -23,7 +23,9 @@ export const unsetAllMarks: RawCommands['unsetAllMarks'] = () => ({ tr, state, d
Object
.entries(state.schema.marks)
.forEach(([, mark]) => {
tr.removeMark(from, to, mark as any)
ranges.forEach(range => {
tr.removeMark(range.$from.pos, range.$to.pos, mark as any)
})
})
}

View File

@@ -17,20 +17,25 @@ declare module '@tiptap/core' {
export const unsetMark: RawCommands['unsetMark'] = typeOrName => ({ tr, state, dispatch }) => {
const { selection } = tr
const type = getMarkType(typeOrName, state.schema)
let { from, to } = selection
const { $from, empty } = selection
const { $from, empty, ranges } = selection
if (dispatch) {
if (empty) {
let { from, to } = selection
const range = getMarkRange($from, type)
if (range) {
from = range.from
to = range.to
}
tr.removeMark(from, to, type)
} else {
ranges.forEach(range => {
tr.removeMark(range.$from.pos, range.$to.pos, type)
})
}
if (dispatch) {
tr.removeMark(from, to, type)
tr.removeStoredMark(type)
}

View File

@@ -16,9 +16,10 @@ declare module '@tiptap/core' {
export const updateNodeAttributes: RawCommands['updateNodeAttributes'] = (typeOrName, attributes = {}) => ({ tr, state, dispatch }) => {
const type = getNodeType(typeOrName, state.schema)
const { selection } = tr
const { from, to } = selection
const { ranges } = selection
state.doc.nodesBetween(from, to, (node, pos) => {
ranges.forEach(range => {
state.doc.nodesBetween(range.$from.pos, range.$to.pos, (node, pos) => {
if (node.type === type && dispatch) {
tr.setNodeMarkup(pos, undefined, {
...node.attrs,
@@ -26,6 +27,7 @@ export const updateNodeAttributes: RawCommands['updateNodeAttributes'] = (typeOr
})
}
})
})
return true
}

View File

@@ -3,6 +3,14 @@
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.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-focus@2.0.0-beta.4...@tiptap/extension-focus@2.0.0-beta.5) (2021-03-28)
**Note:** Version bump only for package @tiptap/extension-focus
# [2.0.0-beta.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-focus@2.0.0-beta.3...@tiptap/extension-focus@2.0.0-beta.4) (2021-03-25)
**Note:** Version bump only for package @tiptap/extension-focus

View File

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

View File

@@ -3,6 +3,30 @@
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.9](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-mention@2.0.0-beta.8...@tiptap/extension-mention@2.0.0-beta.9) (2021-03-28)
**Note:** Version bump only for package @tiptap/extension-mention
# [2.0.0-beta.8](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-mention@2.0.0-beta.7...@tiptap/extension-mention@2.0.0-beta.8) (2021-03-28)
**Note:** Version bump only for package @tiptap/extension-mention
# [2.0.0-beta.7](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-mention@2.0.0-beta.6...@tiptap/extension-mention@2.0.0-beta.7) (2021-03-28)
**Note:** Version bump only for package @tiptap/extension-mention
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-mention@2.0.0-beta.5...@tiptap/extension-mention@2.0.0-beta.6) (2021-03-24)
**Note:** Version bump only for package @tiptap/extension-mention

View File

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

View File

@@ -3,6 +3,14 @@
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.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-placeholder@2.0.0-beta.1...@tiptap/extension-placeholder@2.0.0-beta.2) (2021-03-28)
**Note:** Version bump only for package @tiptap/extension-placeholder
# 2.0.0-beta.1 (2021-03-24)
**Note:** Version bump only for package @tiptap/extension-placeholder

View File

@@ -1,7 +1,7 @@
{
"name": "@tiptap/extension-placeholder",
"description": "placeholder extension for tiptap",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@@ -25,6 +25,7 @@
"@tiptap/core": "^2.0.0-beta.1"
},
"dependencies": {
"prosemirror-model": "^1.13.3",
"prosemirror-state": "^1.3.4",
"prosemirror-view": "^1.18.1"
}

View File

@@ -1,11 +1,15 @@
import { Extension, isNodeEmpty } from '@tiptap/core'
import { Editor, Extension, isNodeEmpty } from '@tiptap/core'
import { Node as ProsemirrorNode } from 'prosemirror-model'
import { Decoration, DecorationSet } from 'prosemirror-view'
import { Plugin } from 'prosemirror-state'
export interface PlaceholderOptions {
emptyEditorClass: string,
emptyNodeClass: string,
placeholder: string | Function,
placeholder: ((PlaceholderProps: {
editor: Editor,
node: ProsemirrorNode,
}) => string) | string,
showOnlyWhenEditable: boolean,
showOnlyCurrent: boolean,
}
@@ -48,7 +52,10 @@ export const Placeholder = Extension.create<PlaceholderOptions>({
const decoration = Decoration.node(pos, pos + node.nodeSize, {
class: classes.join(' '),
'data-placeholder': typeof this.options.placeholder === 'function'
? this.options.placeholder(node)
? this.options.placeholder({
editor: this.editor,
node,
})
: this.options.placeholder,
})

View File

@@ -3,6 +3,14 @@
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.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-table-header@2.0.0-beta.1...@tiptap/extension-table-header@2.0.0-beta.2) (2021-03-28)
**Note:** Version bump only for package @tiptap/extension-table-header
# [2.0.0-beta.1](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-table-header@2.0.0-alpha.11...@tiptap/extension-table-header@2.0.0-beta.1) (2021-03-05)
**Note:** Version bump only for package @tiptap/extension-table-header

View File

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

View File

@@ -24,6 +24,16 @@ export const TableHeader = Node.create<TableHeaderOptions>({
},
colwidth: {
default: null,
parseHTML: element => {
const colwidth = element.getAttribute('colwidth')
const value = colwidth
? [parseInt(colwidth, 10)]
: null
return {
colwidth: value,
}
},
},
}
},

View File

@@ -3,6 +3,14 @@
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.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-table@2.0.0-beta.3...@tiptap/extension-table@2.0.0-beta.4) (2021-03-28)
**Note:** Version bump only for package @tiptap/extension-table
# [2.0.0-beta.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-table@2.0.0-beta.2...@tiptap/extension-table@2.0.0-beta.3) (2021-03-24)
**Note:** Version bump only for package @tiptap/extension-table

View File

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

View File

@@ -3,6 +3,14 @@
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.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-task-list@2.0.0-beta.1...@tiptap/extension-task-list@2.0.0-beta.2) (2021-03-28)
**Note:** Version bump only for package @tiptap/extension-task-list
# [2.0.0-beta.1](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-task-list@2.0.0-alpha.11...@tiptap/extension-task-list@2.0.0-beta.1) (2021-03-05)
**Note:** Version bump only for package @tiptap/extension-task-list

View File

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

View File

@@ -3,6 +3,30 @@
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.9](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/html@2.0.0-beta.8...@tiptap/html@2.0.0-beta.9) (2021-03-28)
**Note:** Version bump only for package @tiptap/html
# [2.0.0-beta.8](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/html@2.0.0-beta.7...@tiptap/html@2.0.0-beta.8) (2021-03-28)
**Note:** Version bump only for package @tiptap/html
# [2.0.0-beta.7](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/html@2.0.0-beta.6...@tiptap/html@2.0.0-beta.7) (2021-03-28)
**Note:** Version bump only for package @tiptap/html
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/html@2.0.0-beta.5...@tiptap/html@2.0.0-beta.6) (2021-03-24)
**Note:** Version bump only for package @tiptap/html

View File

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

View File

@@ -3,6 +3,14 @@
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.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.5...@tiptap/react@2.0.0-beta.6) (2021-03-28)
**Note:** Version bump only for package @tiptap/react
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.4...@tiptap/react@2.0.0-beta.5) (2021-03-24)
**Note:** Version bump only for package @tiptap/react

View File

@@ -1,7 +1,7 @@
{
"name": "@tiptap/react",
"description": "React components for tiptap",
"version": "2.0.0-beta.5",
"version": "2.0.0-beta.6",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",

View File

@@ -3,6 +3,30 @@
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.9](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/suggestion@2.0.0-beta.8...@tiptap/suggestion@2.0.0-beta.9) (2021-03-28)
**Note:** Version bump only for package @tiptap/suggestion
# [2.0.0-beta.8](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/suggestion@2.0.0-beta.7...@tiptap/suggestion@2.0.0-beta.8) (2021-03-28)
**Note:** Version bump only for package @tiptap/suggestion
# [2.0.0-beta.7](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/suggestion@2.0.0-beta.6...@tiptap/suggestion@2.0.0-beta.7) (2021-03-28)
**Note:** Version bump only for package @tiptap/suggestion
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/suggestion@2.0.0-beta.5...@tiptap/suggestion@2.0.0-beta.6) (2021-03-24)
**Note:** Version bump only for package @tiptap/suggestion

View File

@@ -1,7 +1,7 @@
{
"name": "@tiptap/suggestion",
"description": "suggestion plugin for tiptap",
"version": "2.0.0-beta.6",
"version": "2.0.0-beta.9",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@@ -22,7 +22,7 @@
"dist"
],
"dependencies": {
"@tiptap/core": "^2.0.0-beta.6",
"@tiptap/core": "^2.0.0-beta.9",
"prosemirror-model": "^1.13.3",
"prosemirror-state": "^1.3.4",
"prosemirror-view": "^1.18.1"

View File

@@ -3,6 +3,14 @@
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.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-2@2.0.0-beta.5...@tiptap/vue-2@2.0.0-beta.6) (2021-03-28)
**Note:** Version bump only for package @tiptap/vue-2
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-2@2.0.0-beta.4...@tiptap/vue-2@2.0.0-beta.5) (2021-03-24)
**Note:** Version bump only for package @tiptap/vue-2

View File

@@ -1,7 +1,7 @@
{
"name": "@tiptap/vue-2",
"description": "Vue components for tiptap",
"version": "2.0.0-beta.5",
"version": "2.0.0-beta.6",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",

View File

@@ -3,6 +3,14 @@
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.7](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-3@2.0.0-beta.6...@tiptap/vue-3@2.0.0-beta.7) (2021-03-28)
**Note:** Version bump only for package @tiptap/vue-3
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-3@2.0.0-beta.5...@tiptap/vue-3@2.0.0-beta.6) (2021-03-24)
**Note:** Version bump only for package @tiptap/vue-3

View File

@@ -1,7 +1,7 @@
{
"name": "@tiptap/vue-3",
"description": "Vue components for tiptap",
"version": "2.0.0-beta.6",
"version": "2.0.0-beta.7",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",

View File

@@ -3,6 +3,14 @@
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.7](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-starter-kit@2.0.0-beta.6...@tiptap/vue-starter-kit@2.0.0-beta.7) (2021-03-28)
**Note:** Version bump only for package @tiptap/vue-starter-kit
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue-starter-kit@2.0.0-beta.5...@tiptap/vue-starter-kit@2.0.0-beta.6) (2021-03-24)
**Note:** Version bump only for package @tiptap/vue-starter-kit

View File

@@ -1,7 +1,7 @@
{
"name": "@tiptap/vue-starter-kit",
"description": "Vue starter kit for tiptap",
"version": "2.0.0-beta.6",
"version": "2.0.0-beta.7",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
@@ -23,6 +23,6 @@
],
"dependencies": {
"@tiptap/starter-kit": "^2.0.0-beta.4",
"@tiptap/vue": "^2.0.0-beta.3"
"@tiptap/vue": "^2.0.0-beta.4"
}
}

View File

@@ -3,6 +3,14 @@
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.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue@2.0.0-beta.3...@tiptap/vue@2.0.0-beta.4) (2021-03-28)
**Note:** Version bump only for package @tiptap/vue
# [2.0.0-beta.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/vue@2.0.0-beta.2...@tiptap/vue@2.0.0-beta.3) (2021-03-24)
**Note:** Version bump only for package @tiptap/vue

View File

@@ -1,7 +1,7 @@
{
"name": "@tiptap/vue",
"description": "Vue components for tiptap",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",