mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-03 19:19:01 +08:00
Merge pull request #5369 from ueberdosis/develop
This commit is contained in:
commit
8337e53167
5
.changeset/eleven-needles-argue.md
Normal file
5
.changeset/eleven-needles-argue.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tiptap/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Adjust the `splitBlock` command to return `false` when it was unsuccessful.
|
5
.changeset/hungry-jokes-wash.md
Normal file
5
.changeset/hungry-jokes-wash.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tiptap/extension-table": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Set correct `min-width` for a table fixes #5217
|
5
.changeset/lovely-cougars-care.md
Normal file
5
.changeset/lovely-cougars-care.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tiptap/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
This fixes a bug with the placeholder extension where a heading level other than the default was not considered empty, when comparing node contents, we need to consider that the node attributes are carried over for a fair comparison of content instead of attribute values
|
5
.changeset/shy-otters-tap.md
Normal file
5
.changeset/shy-otters-tap.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tiptap/extension-link": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Links were opening twive when the editor was not editable and openOnclick was true, now openOnClick setting will check if it is editable before trying to open programmatically resolves #4877
|
5
.changeset/silly-socks-work.md
Normal file
5
.changeset/silly-socks-work.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tiptap/extension-code-block": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
code-block: on arrow down move into the next node
|
5
.changeset/sixty-gifts-dream.md
Normal file
5
.changeset/sixty-gifts-dream.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tiptap/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add a check beforecreateNodeViews so that view.setProps is not called when the view has already been destroyed
|
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
@ -53,6 +53,7 @@ jobs:
|
|||||||
id: changesets
|
id: changesets
|
||||||
uses: changesets/action@v1
|
uses: changesets/action@v1
|
||||||
with:
|
with:
|
||||||
|
createGithubReleases: false
|
||||||
publish: npm run publish
|
publish: npm run publish
|
||||||
title: ${{ github.ref_name == 'main' && 'Publish a new stable version' || 'Publish a new pre-release version' }}
|
title: ${{ github.ref_name == 'main' && 'Publish a new stable version' || 'Publish a new pre-release version' }}
|
||||||
commit: >-
|
commit: >-
|
||||||
|
@ -10,6 +10,7 @@ import React, { useCallback } from 'react'
|
|||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
const editor = useEditor({
|
const editor = useEditor({
|
||||||
|
editable: true,
|
||||||
extensions: [
|
extensions: [
|
||||||
Document,
|
Document,
|
||||||
Paragraph,
|
Paragraph,
|
||||||
|
@ -63,7 +63,7 @@ context('/src/Nodes/Table/React/', () => {
|
|||||||
const html = editor.getHTML()
|
const html = editor.getHTML()
|
||||||
|
|
||||||
expect(html).to.equal(
|
expect(html).to.equal(
|
||||||
'<table style="minWidth: 25px"><colgroup><col></colgroup><tbody><tr><td colspan="1" rowspan="1"><p></p></td></tr></tbody></table>',
|
'<table style="min-width: 25px"><colgroup><col></colgroup><tbody><tr><td colspan="1" rowspan="1"><p></p></td></tr></tbody></table>',
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@ -75,7 +75,7 @@ context('/src/Nodes/Table/React/', () => {
|
|||||||
const html = editor.getHTML()
|
const html = editor.getHTML()
|
||||||
|
|
||||||
expect(html).to.equal(
|
expect(html).to.equal(
|
||||||
'<table style="minWidth: 25px"><colgroup><col></colgroup><tbody><tr><th colspan="1" rowspan="1"><p></p></th></tr></tbody></table>',
|
'<table style="min-width: 25px"><colgroup><col></colgroup><tbody><tr><th colspan="1" rowspan="1"><p></p></th></tr></tbody></table>',
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -62,7 +62,7 @@ context('/src/Nodes/Table/Vue/', () => {
|
|||||||
|
|
||||||
const html = editor.getHTML()
|
const html = editor.getHTML()
|
||||||
|
|
||||||
expect(html).to.equal('<table style="minWidth: 25px"><colgroup><col></colgroup><tbody><tr><td colspan="1" rowspan="1"><p></p></td></tr></tbody></table>')
|
expect(html).to.equal('<table style="min-width: 25px"><colgroup><col></colgroup><tbody><tr><td colspan="1" rowspan="1"><p></p></td></tr></tbody></table>')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ context('/src/Nodes/Table/Vue/', () => {
|
|||||||
|
|
||||||
const html = editor.getHTML()
|
const html = editor.getHTML()
|
||||||
|
|
||||||
expect(html).to.equal('<table style="minWidth: 25px"><colgroup><col></colgroup><tbody><tr><th colspan="1" rowspan="1"><p></p></th></tr></tbody></table>')
|
expect(html).to.equal('<table style="min-width: 25px"><colgroup><col></colgroup><tbody><tr><th colspan="1" rowspan="1"><p></p></th></tr></tbody></table>')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
5854
package-lock.json
generated
5854
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 4cca382: Make sure that atoms are used in-full without cutting the content. Node size for atoms is 1 which causes text to be cut unexpectedly.
|
||||||
|
- 3b67e8a: This changes the typing to not declare types on all HTMLElements, just a local one with the editor instance attached
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 07f4c03: There was a bug where doing a `.configure` on an extension, node or mark would overwrite the extensions options instead of being merged with the default options.
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/core",
|
"name": "@tiptap/core",
|
||||||
"description": "headless rich text editor",
|
"description": "headless rich text editor",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -32,10 +32,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -39,10 +39,8 @@ import { isFunction } from './utilities/isFunction.js'
|
|||||||
|
|
||||||
export * as extensions from './extensions/index.js'
|
export * as extensions from './extensions/index.js'
|
||||||
|
|
||||||
declare global {
|
export interface TiptapEditorHTMLElement extends HTMLElement {
|
||||||
interface HTMLElement {
|
editor?: Editor
|
||||||
editor?: Editor;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Editor extends EventEmitter<EditorEvents> {
|
export class Editor extends EventEmitter<EditorEvents> {
|
||||||
@ -342,7 +340,7 @@ export class Editor extends EventEmitter<EditorEvents> {
|
|||||||
|
|
||||||
// Let’s store the editor instance in the DOM element.
|
// Let’s store the editor instance in the DOM element.
|
||||||
// So we’ll have access to it for tests.
|
// So we’ll have access to it for tests.
|
||||||
const dom = this.view.dom as HTMLElement
|
const dom = this.view.dom as TiptapEditorHTMLElement
|
||||||
|
|
||||||
dom.editor = this
|
dom.editor = this
|
||||||
}
|
}
|
||||||
@ -351,6 +349,10 @@ export class Editor extends EventEmitter<EditorEvents> {
|
|||||||
* Creates all node views.
|
* Creates all node views.
|
||||||
*/
|
*/
|
||||||
public createNodeViews(): void {
|
public createNodeViews(): void {
|
||||||
|
if (this.view.isDestroyed) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
this.view.setProps({
|
this.view.setProps({
|
||||||
nodeViews: this.extensionManager.nodeViews,
|
nodeViews: this.extensionManager.nodeViews,
|
||||||
})
|
})
|
||||||
@ -406,6 +408,11 @@ export class Editor extends EventEmitter<EditorEvents> {
|
|||||||
const state = this.state.apply(transaction)
|
const state = this.state.apply(transaction)
|
||||||
const selectionHasChanged = !this.state.selection.eq(state.selection)
|
const selectionHasChanged = !this.state.selection.eq(state.selection)
|
||||||
|
|
||||||
|
this.emit('beforeTransaction', {
|
||||||
|
editor: this,
|
||||||
|
transaction,
|
||||||
|
nextState: state,
|
||||||
|
})
|
||||||
this.view.updateState(state)
|
this.view.updateState(state)
|
||||||
this.emit('transaction', {
|
this.emit('transaction', {
|
||||||
editor: this,
|
editor: this,
|
||||||
|
@ -459,8 +459,8 @@ export class Extension<Options = any, Storage = any> {
|
|||||||
// with different calls of `configure`
|
// with different calls of `configure`
|
||||||
const extension = this.extend({
|
const extension = this.extend({
|
||||||
...this.config,
|
...this.config,
|
||||||
addOptions() {
|
addOptions: () => {
|
||||||
return mergeDeep(this.parent?.() || {}, options) as Options
|
return mergeDeep(this.options as Record<string, any>, options) as Options
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -591,8 +591,8 @@ export class Mark<Options = any, Storage = any> {
|
|||||||
// with different calls of `configure`
|
// with different calls of `configure`
|
||||||
const extension = this.extend({
|
const extension = this.extend({
|
||||||
...this.config,
|
...this.config,
|
||||||
addOptions() {
|
addOptions: () => {
|
||||||
return mergeDeep(this.parent?.() || {}, options) as Options
|
return mergeDeep(this.options as Record<string, any>, options) as Options
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -782,8 +782,8 @@ export class Node<Options = any, Storage = any> {
|
|||||||
// with different calls of `configure`
|
// with different calls of `configure`
|
||||||
const extension = this.extend({
|
const extension = this.extend({
|
||||||
...this.config,
|
...this.config,
|
||||||
addOptions() {
|
addOptions: () => {
|
||||||
return mergeDeep(this.parent?.() || {}, options) as Options
|
return mergeDeep(this.options as Record<string, any>, options) as Options
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -61,18 +61,30 @@ export const splitBlock: RawCommands['splitBlock'] = ({ keepMarks = true } = {})
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dispatch) {
|
const atEnd = $to.parentOffset === $to.parent.content.size
|
||||||
const atEnd = $to.parentOffset === $to.parent.content.size
|
|
||||||
|
|
||||||
if (selection instanceof TextSelection) {
|
const deflt = $from.depth === 0
|
||||||
tr.deleteSelection()
|
? undefined
|
||||||
}
|
: defaultBlockAt($from.node(-1).contentMatchAt($from.indexAfter(-1)))
|
||||||
|
|
||||||
const deflt = $from.depth === 0
|
let types = atEnd && deflt
|
||||||
? undefined
|
? [
|
||||||
: defaultBlockAt($from.node(-1).contentMatchAt($from.indexAfter(-1)))
|
{
|
||||||
|
type: deflt,
|
||||||
|
attrs: newAttributes,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
: undefined
|
||||||
|
|
||||||
let types = atEnd && deflt
|
let can = canSplit(tr.doc, tr.mapping.map($from.pos), 1, types)
|
||||||
|
|
||||||
|
if (
|
||||||
|
!types
|
||||||
|
&& !can
|
||||||
|
&& canSplit(tr.doc, tr.mapping.map($from.pos), 1, deflt ? [{ type: deflt }] : undefined)
|
||||||
|
) {
|
||||||
|
can = true
|
||||||
|
types = deflt
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
type: deflt,
|
type: deflt,
|
||||||
@ -80,26 +92,14 @@ export const splitBlock: RawCommands['splitBlock'] = ({ keepMarks = true } = {})
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
: undefined
|
: undefined
|
||||||
|
}
|
||||||
|
|
||||||
let can = canSplit(tr.doc, tr.mapping.map($from.pos), 1, types)
|
if (dispatch) {
|
||||||
|
|
||||||
if (
|
|
||||||
!types
|
|
||||||
&& !can
|
|
||||||
&& canSplit(tr.doc, tr.mapping.map($from.pos), 1, deflt ? [{ type: deflt }] : undefined)
|
|
||||||
) {
|
|
||||||
can = true
|
|
||||||
types = deflt
|
|
||||||
? [
|
|
||||||
{
|
|
||||||
type: deflt,
|
|
||||||
attrs: newAttributes,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
: undefined
|
|
||||||
}
|
|
||||||
|
|
||||||
if (can) {
|
if (can) {
|
||||||
|
if (selection instanceof TextSelection) {
|
||||||
|
tr.deleteSelection()
|
||||||
|
}
|
||||||
|
|
||||||
tr.split(tr.mapping.map($from.pos), 1, types)
|
tr.split(tr.mapping.map($from.pos), 1, types)
|
||||||
|
|
||||||
if (deflt && !atEnd && !$from.parentOffset && $from.parent.type !== deflt) {
|
if (deflt && !atEnd && !$from.parentOffset && $from.parent.type !== deflt) {
|
||||||
@ -119,5 +119,5 @@ export const splitBlock: RawCommands['splitBlock'] = ({ keepMarks = true } = {})
|
|||||||
tr.scrollIntoView()
|
tr.scrollIntoView()
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return can
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ export const getTextContentFromNodes = ($from: ResolvedPos, maxMatch = 500) => {
|
|||||||
|| node.textContent
|
|| node.textContent
|
||||||
|| '%leaf%'
|
|| '%leaf%'
|
||||||
|
|
||||||
textBefore += chunk.slice(0, Math.max(0, sliceEndPos - pos))
|
textBefore += node.isAtom ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos))
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Node as ProseMirrorNode } from '@tiptap/pm/model'
|
import { Node as ProseMirrorNode } from '@tiptap/pm/model'
|
||||||
|
|
||||||
export function isNodeEmpty(node: ProseMirrorNode): boolean {
|
export function isNodeEmpty(node: ProseMirrorNode): boolean {
|
||||||
const defaultContent = node.type.createAndFill()
|
const defaultContent = node.type.createAndFill(node.attrs)
|
||||||
|
|
||||||
if (!defaultContent) {
|
if (!defaultContent) {
|
||||||
return false
|
return false
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
import {
|
import {
|
||||||
Mark as ProseMirrorMark, Node as ProseMirrorNode, NodeType, ParseOptions,
|
Mark as ProseMirrorMark,
|
||||||
|
Node as ProseMirrorNode,
|
||||||
|
NodeType,
|
||||||
|
ParseOptions,
|
||||||
} from '@tiptap/pm/model'
|
} from '@tiptap/pm/model'
|
||||||
import { EditorState, Transaction } from '@tiptap/pm/state'
|
import { EditorState, Transaction } from '@tiptap/pm/state'
|
||||||
import {
|
import {
|
||||||
@ -14,266 +17,265 @@ import {
|
|||||||
import { Mark } from './Mark.js'
|
import { Mark } from './Mark.js'
|
||||||
import { Node } from './Node.js'
|
import { Node } from './Node.js'
|
||||||
|
|
||||||
export type AnyConfig = ExtensionConfig | NodeConfig | MarkConfig
|
export type AnyConfig = ExtensionConfig | NodeConfig | MarkConfig;
|
||||||
export type AnyExtension = Extension | Node | Mark
|
export type AnyExtension = Extension | Node | Mark;
|
||||||
export type Extensions = AnyExtension[]
|
export type Extensions = AnyExtension[];
|
||||||
|
|
||||||
export type ParentConfig<T> = Partial<{
|
export type ParentConfig<T> = Partial<{
|
||||||
[P in keyof T]: Required<T>[P] extends (...args: any) => any
|
[P in keyof T]: Required<T>[P] extends (...args: any) => any
|
||||||
? (...args: Parameters<Required<T>[P]>) => ReturnType<Required<T>[P]>
|
? (...args: Parameters<Required<T>[P]>) => ReturnType<Required<T>[P]>
|
||||||
: T[P]
|
: T[P];
|
||||||
}>
|
}>;
|
||||||
|
|
||||||
export type Primitive = null | undefined | string | number | boolean | symbol | bigint
|
export type Primitive = null | undefined | string | number | boolean | symbol | bigint;
|
||||||
|
|
||||||
export type RemoveThis<T> = T extends (...args: any) => any
|
export type RemoveThis<T> = T extends (...args: any) => any
|
||||||
? (...args: Parameters<T>) => ReturnType<T>
|
? (...args: Parameters<T>) => ReturnType<T>
|
||||||
: T
|
: T;
|
||||||
|
|
||||||
export type MaybeReturnType<T> = T extends (...args: any) => any ? ReturnType<T> : T
|
export type MaybeReturnType<T> = T extends (...args: any) => any ? ReturnType<T> : T;
|
||||||
|
|
||||||
export type MaybeThisParameterType<T> = Exclude<T, Primitive> extends (...args: any) => any
|
export type MaybeThisParameterType<T> = Exclude<T, Primitive> extends (...args: any) => any
|
||||||
? ThisParameterType<Exclude<T, Primitive>>
|
? ThisParameterType<Exclude<T, Primitive>>
|
||||||
: any
|
: any;
|
||||||
|
|
||||||
export interface EditorEvents {
|
export interface EditorEvents {
|
||||||
beforeCreate: { editor: Editor }
|
beforeCreate: { editor: Editor };
|
||||||
create: { editor: Editor }
|
create: { editor: Editor };
|
||||||
contentError: {
|
contentError: {
|
||||||
editor: Editor,
|
editor: Editor;
|
||||||
error: Error,
|
error: Error;
|
||||||
/**
|
/**
|
||||||
* If called, will re-initialize the editor with the collaboration extension removed.
|
* If called, will re-initialize the editor with the collaboration extension removed.
|
||||||
* This will prevent syncing back deletions of content not present in the current schema.
|
* This will prevent syncing back deletions of content not present in the current schema.
|
||||||
*/
|
*/
|
||||||
disableCollaboration: () => void
|
disableCollaboration: () => void;
|
||||||
}
|
};
|
||||||
update: { editor: Editor; transaction: Transaction }
|
update: { editor: Editor; transaction: Transaction };
|
||||||
selectionUpdate: { editor: Editor; transaction: Transaction }
|
selectionUpdate: { editor: Editor; transaction: Transaction };
|
||||||
transaction: { editor: Editor; transaction: Transaction }
|
beforeTransaction: { editor: Editor; transaction: Transaction; nextState: EditorState };
|
||||||
focus: { editor: Editor; event: FocusEvent; transaction: Transaction }
|
transaction: { editor: Editor; transaction: Transaction };
|
||||||
blur: { editor: Editor; event: FocusEvent; transaction: Transaction }
|
focus: { editor: Editor; event: FocusEvent; transaction: Transaction };
|
||||||
destroy: void
|
blur: { editor: Editor; event: FocusEvent; transaction: Transaction };
|
||||||
|
destroy: void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EnableRules = (AnyExtension | string)[] | boolean
|
export type EnableRules = (AnyExtension | string)[] | boolean;
|
||||||
|
|
||||||
export interface EditorOptions {
|
export interface EditorOptions {
|
||||||
element: Element
|
element: Element;
|
||||||
content: Content
|
content: Content;
|
||||||
extensions: Extensions
|
extensions: Extensions;
|
||||||
injectCSS: boolean
|
injectCSS: boolean;
|
||||||
injectNonce: string | undefined
|
injectNonce: string | undefined;
|
||||||
autofocus: FocusPosition
|
autofocus: FocusPosition;
|
||||||
editable: boolean
|
editable: boolean;
|
||||||
editorProps: EditorProps
|
editorProps: EditorProps;
|
||||||
parseOptions: ParseOptions
|
parseOptions: ParseOptions;
|
||||||
coreExtensionOptions?: {
|
coreExtensionOptions?: {
|
||||||
clipboardTextSerializer?: {
|
clipboardTextSerializer?: {
|
||||||
blockSeparator?: string
|
blockSeparator?: string;
|
||||||
}
|
};
|
||||||
}
|
};
|
||||||
enableInputRules: EnableRules
|
enableInputRules: EnableRules;
|
||||||
enablePasteRules: EnableRules
|
enablePasteRules: EnableRules;
|
||||||
enableCoreExtensions: boolean
|
enableCoreExtensions: boolean;
|
||||||
/**
|
/**
|
||||||
* If `true`, the editor will check the content for errors on initialization.
|
* If `true`, the editor will check the content for errors on initialization.
|
||||||
* Emitting the `contentError` event if the content is invalid.
|
* Emitting the `contentError` event if the content is invalid.
|
||||||
* Which can be used to show a warning or error message to the user.
|
* Which can be used to show a warning or error message to the user.
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
enableContentCheck: boolean
|
enableContentCheck: boolean;
|
||||||
onBeforeCreate: (props: EditorEvents['beforeCreate']) => void
|
onBeforeCreate: (props: EditorEvents['beforeCreate']) => void;
|
||||||
onCreate: (props: EditorEvents['create']) => void
|
onCreate: (props: EditorEvents['create']) => void;
|
||||||
/**
|
/**
|
||||||
* Called when the editor encounters an error while parsing the content.
|
* Called when the editor encounters an error while parsing the content.
|
||||||
* Only enabled if `enableContentCheck` is `true`.
|
* Only enabled if `enableContentCheck` is `true`.
|
||||||
*/
|
*/
|
||||||
onContentError: (props: EditorEvents['contentError']) => void
|
onContentError: (props: EditorEvents['contentError']) => void;
|
||||||
onUpdate: (props: EditorEvents['update']) => void
|
onUpdate: (props: EditorEvents['update']) => void;
|
||||||
onSelectionUpdate: (props: EditorEvents['selectionUpdate']) => void
|
onSelectionUpdate: (props: EditorEvents['selectionUpdate']) => void;
|
||||||
onTransaction: (props: EditorEvents['transaction']) => void
|
onTransaction: (props: EditorEvents['transaction']) => void;
|
||||||
onFocus: (props: EditorEvents['focus']) => void
|
onFocus: (props: EditorEvents['focus']) => void;
|
||||||
onBlur: (props: EditorEvents['blur']) => void
|
onBlur: (props: EditorEvents['blur']) => void;
|
||||||
onDestroy: (props: EditorEvents['destroy']) => void
|
onDestroy: (props: EditorEvents['destroy']) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type HTMLContent = string
|
export type HTMLContent = string;
|
||||||
|
|
||||||
export type JSONContent = {
|
export type JSONContent = {
|
||||||
type?: string
|
type?: string;
|
||||||
attrs?: Record<string, any>
|
attrs?: Record<string, any>;
|
||||||
content?: JSONContent[]
|
content?: JSONContent[];
|
||||||
marks?: {
|
marks?: {
|
||||||
type: string
|
type: string;
|
||||||
attrs?: Record<string, any>
|
attrs?: Record<string, any>;
|
||||||
[key: string]: any
|
[key: string]: any;
|
||||||
}[]
|
}[];
|
||||||
text?: string
|
text?: string;
|
||||||
[key: string]: any
|
[key: string]: any;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type Content = HTMLContent | JSONContent | JSONContent[] | null
|
export type Content = HTMLContent | JSONContent | JSONContent[] | null;
|
||||||
|
|
||||||
export type CommandProps = {
|
export type CommandProps = {
|
||||||
editor: Editor
|
editor: Editor;
|
||||||
tr: Transaction
|
tr: Transaction;
|
||||||
commands: SingleCommands
|
commands: SingleCommands;
|
||||||
can: () => CanCommands
|
can: () => CanCommands;
|
||||||
chain: () => ChainedCommands
|
chain: () => ChainedCommands;
|
||||||
state: EditorState
|
state: EditorState;
|
||||||
view: EditorView
|
view: EditorView;
|
||||||
dispatch: ((args?: any) => any) | undefined
|
dispatch: ((args?: any) => any) | undefined;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type Command = (props: CommandProps) => boolean
|
export type Command = (props: CommandProps) => boolean;
|
||||||
|
|
||||||
export type CommandSpec = (...args: any[]) => Command
|
export type CommandSpec = (...args: any[]) => Command;
|
||||||
|
|
||||||
export type KeyboardShortcutCommand = (props: { editor: Editor }) => boolean
|
export type KeyboardShortcutCommand = (props: { editor: Editor }) => boolean;
|
||||||
|
|
||||||
export type Attribute = {
|
export type Attribute = {
|
||||||
default?: any
|
default?: any;
|
||||||
rendered?: boolean
|
rendered?: boolean;
|
||||||
renderHTML?: ((attributes: Record<string, any>) => Record<string, any> | null) | null
|
renderHTML?: ((attributes: Record<string, any>) => Record<string, any> | null) | null;
|
||||||
parseHTML?: ((element: HTMLElement) => any | null) | null
|
parseHTML?: ((element: HTMLElement) => any | null) | null;
|
||||||
keepOnSplit?: boolean
|
keepOnSplit?: boolean;
|
||||||
isRequired?: boolean
|
isRequired?: boolean;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type Attributes = {
|
export type Attributes = {
|
||||||
[key: string]: Attribute
|
[key: string]: Attribute;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type ExtensionAttribute = {
|
export type ExtensionAttribute = {
|
||||||
type: string
|
type: string;
|
||||||
name: string
|
name: string;
|
||||||
attribute: Required<Attribute>
|
attribute: Required<Attribute>;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type GlobalAttributes = {
|
export type GlobalAttributes = {
|
||||||
/**
|
/**
|
||||||
* The node & mark types this attribute should be applied to.
|
* The node & mark types this attribute should be applied to.
|
||||||
*/
|
*/
|
||||||
types: string[]
|
types: string[];
|
||||||
/**
|
/**
|
||||||
* The attributes to add to the node or mark types.
|
* The attributes to add to the node or mark types.
|
||||||
*/
|
*/
|
||||||
attributes: {
|
attributes: Record<string, Attribute | undefined>;
|
||||||
[key: string]: Attribute
|
}[];
|
||||||
}
|
|
||||||
}[]
|
|
||||||
|
|
||||||
export type PickValue<T, K extends keyof T> = T[K]
|
export type PickValue<T, K extends keyof T> = T[K];
|
||||||
|
|
||||||
export type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (
|
export type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (
|
||||||
k: infer I,
|
k: infer I
|
||||||
) => void
|
) => void
|
||||||
? I
|
? I
|
||||||
: never
|
: never;
|
||||||
|
|
||||||
export type Diff<T extends keyof any, U extends keyof any> = ({ [P in T]: P } & {
|
export type Diff<T extends keyof any, U extends keyof any> = ({ [P in T]: P } & {
|
||||||
[P in U]: never
|
[P in U]: never;
|
||||||
} & { [x: string]: never })[T]
|
} & { [x: string]: never })[T];
|
||||||
|
|
||||||
export type Overwrite<T, U> = Pick<T, Diff<keyof T, keyof U>> & U
|
export type Overwrite<T, U> = Pick<T, Diff<keyof T, keyof U>> & U;
|
||||||
|
|
||||||
export type ValuesOf<T> = T[keyof T]
|
export type ValuesOf<T> = T[keyof T];
|
||||||
|
|
||||||
export type KeysWithTypeOf<T, Type> = { [P in keyof T]: T[P] extends Type ? P : never }[keyof T]
|
export type KeysWithTypeOf<T, Type> = { [P in keyof T]: T[P] extends Type ? P : never }[keyof T];
|
||||||
|
|
||||||
export type DecorationWithType = Decoration & {
|
export type DecorationWithType = Decoration & {
|
||||||
type: NodeType
|
type: NodeType;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type NodeViewProps = {
|
export type NodeViewProps = {
|
||||||
editor: Editor
|
editor: Editor;
|
||||||
node: ProseMirrorNode
|
node: ProseMirrorNode;
|
||||||
decorations: DecorationWithType[]
|
decorations: DecorationWithType[];
|
||||||
selected: boolean
|
selected: boolean;
|
||||||
extension: Node
|
extension: Node;
|
||||||
getPos: () => number
|
getPos: () => number;
|
||||||
updateAttributes: (attributes: Record<string, any>) => void
|
updateAttributes: (attributes: Record<string, any>) => void;
|
||||||
deleteNode: () => void
|
deleteNode: () => void;
|
||||||
}
|
};
|
||||||
|
|
||||||
export interface NodeViewRendererOptions {
|
export interface NodeViewRendererOptions {
|
||||||
stopEvent: ((props: { event: Event }) => boolean) | null
|
stopEvent: ((props: { event: Event }) => boolean) | null;
|
||||||
ignoreMutation:
|
ignoreMutation:
|
||||||
| ((props: { mutation: MutationRecord | { type: 'selection'; target: Element } }) => boolean)
|
| ((props: { mutation: MutationRecord | { type: 'selection'; target: Element } }) => boolean)
|
||||||
| null
|
| null;
|
||||||
contentDOMElementTag: string
|
contentDOMElementTag: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type NodeViewRendererProps = {
|
export type NodeViewRendererProps = {
|
||||||
editor: Editor
|
editor: Editor;
|
||||||
node: ProseMirrorNode
|
node: ProseMirrorNode;
|
||||||
getPos: (() => number) | boolean
|
getPos: (() => number) | boolean;
|
||||||
HTMLAttributes: Record<string, any>
|
HTMLAttributes: Record<string, any>;
|
||||||
decorations: Decoration[]
|
decorations: Decoration[];
|
||||||
extension: Node
|
extension: Node;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type NodeViewRenderer = (props: NodeViewRendererProps) => NodeView | {}
|
export type NodeViewRenderer = (props: NodeViewRendererProps) => NodeView | {};
|
||||||
|
|
||||||
export type AnyCommands = Record<string, (...args: any[]) => Command>
|
export type AnyCommands = Record<string, (...args: any[]) => Command>;
|
||||||
|
|
||||||
export type UnionCommands<T = Command> = UnionToIntersection<
|
export type UnionCommands<T = Command> = UnionToIntersection<
|
||||||
ValuesOf<Pick<Commands<T>, KeysWithTypeOf<Commands<T>, {}>>>
|
ValuesOf<Pick<Commands<T>, KeysWithTypeOf<Commands<T>, {}>>>
|
||||||
>
|
>;
|
||||||
|
|
||||||
export type RawCommands = {
|
export type RawCommands = {
|
||||||
[Item in keyof UnionCommands]: UnionCommands<Command>[Item]
|
[Item in keyof UnionCommands]: UnionCommands<Command>[Item];
|
||||||
}
|
};
|
||||||
|
|
||||||
export type SingleCommands = {
|
export type SingleCommands = {
|
||||||
[Item in keyof UnionCommands]: UnionCommands<boolean>[Item]
|
[Item in keyof UnionCommands]: UnionCommands<boolean>[Item];
|
||||||
}
|
};
|
||||||
|
|
||||||
export type ChainedCommands = {
|
export type ChainedCommands = {
|
||||||
[Item in keyof UnionCommands]: UnionCommands<ChainedCommands>[Item]
|
[Item in keyof UnionCommands]: UnionCommands<ChainedCommands>[Item];
|
||||||
} & {
|
} & {
|
||||||
run: () => boolean
|
run: () => boolean;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type CanCommands = SingleCommands & { chain: () => ChainedCommands }
|
export type CanCommands = SingleCommands & { chain: () => ChainedCommands };
|
||||||
|
|
||||||
export type FocusPosition = 'start' | 'end' | 'all' | number | boolean | null
|
export type FocusPosition = 'start' | 'end' | 'all' | number | boolean | null;
|
||||||
|
|
||||||
export type Range = {
|
export type Range = {
|
||||||
from: number
|
from: number;
|
||||||
to: number
|
to: number;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type NodeRange = {
|
export type NodeRange = {
|
||||||
node: ProseMirrorNode
|
node: ProseMirrorNode;
|
||||||
from: number
|
from: number;
|
||||||
to: number
|
to: number;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type MarkRange = {
|
export type MarkRange = {
|
||||||
mark: ProseMirrorMark
|
mark: ProseMirrorMark;
|
||||||
from: number
|
from: number;
|
||||||
to: number
|
to: number;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type Predicate = (node: ProseMirrorNode) => boolean
|
export type Predicate = (node: ProseMirrorNode) => boolean;
|
||||||
|
|
||||||
export type NodeWithPos = {
|
export type NodeWithPos = {
|
||||||
node: ProseMirrorNode
|
node: ProseMirrorNode;
|
||||||
pos: number
|
pos: number;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type TextSerializer = (props: {
|
export type TextSerializer = (props: {
|
||||||
node: ProseMirrorNode
|
node: ProseMirrorNode;
|
||||||
pos: number
|
pos: number;
|
||||||
parent: ProseMirrorNode
|
parent: ProseMirrorNode;
|
||||||
index: number
|
index: number;
|
||||||
range: Range
|
range: Range;
|
||||||
}) => string
|
}) => string;
|
||||||
|
|
||||||
export type ExtendedRegExpMatchArray = RegExpMatchArray & {
|
export type ExtendedRegExpMatchArray = RegExpMatchArray & {
|
||||||
data?: Record<string, any>
|
data?: Record<string, any>;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type Dispatch = ((args?: any) => any) | undefined
|
export type Dispatch = ((args?: any) => any) | undefined;
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-blockquote",
|
"name": "@tiptap/extension-blockquote",
|
||||||
"description": "blockquote extension for tiptap",
|
"description": "blockquote extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-bold",
|
"name": "@tiptap/extension-bold",
|
||||||
"description": "bold extension for tiptap",
|
"description": "bold extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-bubble-menu",
|
"name": "@tiptap/extension-bubble-menu",
|
||||||
"description": "bubble-menu extension for tiptap",
|
"description": "bubble-menu extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -38,12 +38,12 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist",
|
"clean": "rm -rf dist",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-bullet-list",
|
"name": "@tiptap/extension-bullet-list",
|
||||||
"description": "bullet list extension for tiptap",
|
"description": "bullet list extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-character-count",
|
"name": "@tiptap/extension-character-count",
|
||||||
"description": "font family extension for tiptap",
|
"description": "font family extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,42 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/extension-code-block@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/extension-code-block@2.5.4
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/extension-code-block@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/extension-code-block@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-code-block-lowlight",
|
"name": "@tiptap/extension-code-block-lowlight",
|
||||||
"description": "code block extension for tiptap",
|
"description": "code block extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,14 +29,14 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/extension-code-block": "^2.5.1",
|
"@tiptap/extension-code-block": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/extension-code-block": "^2.5.1",
|
"@tiptap/extension-code-block": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-code-block",
|
"name": "@tiptap/extension-code-block",
|
||||||
"description": "code block extension for tiptap",
|
"description": "code block extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
import { mergeAttributes, Node, textblockTypeInputRule } from '@tiptap/core'
|
import { mergeAttributes, Node, textblockTypeInputRule } from '@tiptap/core'
|
||||||
import { Plugin, PluginKey, TextSelection } from '@tiptap/pm/state'
|
import {
|
||||||
|
Plugin,
|
||||||
|
PluginKey,
|
||||||
|
Selection,
|
||||||
|
TextSelection,
|
||||||
|
} from '@tiptap/pm/state'
|
||||||
|
|
||||||
export interface CodeBlockOptions {
|
export interface CodeBlockOptions {
|
||||||
/**
|
/**
|
||||||
@ -222,7 +227,10 @@ export const CodeBlock = Node.create<CodeBlockOptions>({
|
|||||||
const nodeAfter = doc.nodeAt(after)
|
const nodeAfter = doc.nodeAt(after)
|
||||||
|
|
||||||
if (nodeAfter) {
|
if (nodeAfter) {
|
||||||
return false
|
return editor.commands.command(({ tr }) => {
|
||||||
|
tr.setSelection(Selection.near(doc.resolve(after)))
|
||||||
|
return true
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
return editor.commands.exitCode()
|
return editor.commands.exitCode()
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-code",
|
"name": "@tiptap/extension-code",
|
||||||
"description": "code extension for tiptap",
|
"description": "code extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-collaboration-cursor",
|
"name": "@tiptap/extension-collaboration-cursor",
|
||||||
"description": "collaboration cursor extension for tiptap",
|
"description": "collaboration cursor extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,11 +29,11 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"y-prosemirror": "^1.2.9"
|
"y-prosemirror": "^1.2.9"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"y-prosemirror": "^1.2.6"
|
"y-prosemirror": "^1.2.6"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-collaboration",
|
"name": "@tiptap/extension-collaboration",
|
||||||
"description": "collaboration extension for tiptap",
|
"description": "collaboration extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,13 +29,13 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1",
|
"@tiptap/pm": "^2.5.5",
|
||||||
"y-prosemirror": "^1.2.9"
|
"y-prosemirror": "^1.2.9"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1",
|
"@tiptap/pm": "^2.5.5",
|
||||||
"y-prosemirror": "^1.2.6"
|
"y-prosemirror": "^1.2.6"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/extension-text-style@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/extension-text-style@2.5.4
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/extension-text-style@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/extension-text-style@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-color",
|
"name": "@tiptap/extension-color",
|
||||||
"description": "text color extension for tiptap",
|
"description": "text color extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/extension-text-style": "^2.5.1"
|
"@tiptap/extension-text-style": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/extension-text-style": "^2.5.1"
|
"@tiptap/extension-text-style": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-document",
|
"name": "@tiptap/extension-document",
|
||||||
"description": "document extension for tiptap",
|
"description": "document extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-dropcursor",
|
"name": "@tiptap/extension-dropcursor",
|
||||||
"description": "dropcursor extension for tiptap",
|
"description": "dropcursor extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-floating-menu",
|
"name": "@tiptap/extension-floating-menu",
|
||||||
"description": "floating-menu extension for tiptap",
|
"description": "floating-menu extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tippy.js": "^6.3.7"
|
"tippy.js": "^6.3.7"
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-focus",
|
"name": "@tiptap/extension-focus",
|
||||||
"description": "focus extension for tiptap",
|
"description": "focus extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/extension-text-style@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/extension-text-style@2.5.4
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/extension-text-style@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/extension-text-style@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-font-family",
|
"name": "@tiptap/extension-font-family",
|
||||||
"description": "font family extension for tiptap",
|
"description": "font family extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/extension-text-style": "^2.5.1"
|
"@tiptap/extension-text-style": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/extension-text-style": "^2.5.1"
|
"@tiptap/extension-text-style": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-gapcursor",
|
"name": "@tiptap/extension-gapcursor",
|
||||||
"description": "gapcursor extension for tiptap",
|
"description": "gapcursor extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-hard-break",
|
"name": "@tiptap/extension-hard-break",
|
||||||
"description": "hard break extension for tiptap",
|
"description": "hard break extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-heading",
|
"name": "@tiptap/extension-heading",
|
||||||
"description": "heading extension for tiptap",
|
"description": "heading extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-highlight",
|
"name": "@tiptap/extension-highlight",
|
||||||
"description": "highlight extension for tiptap",
|
"description": "highlight extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-history",
|
"name": "@tiptap/extension-history",
|
||||||
"description": "history extension for tiptap",
|
"description": "history extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,38 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-horizontal-rule",
|
"name": "@tiptap/extension-horizontal-rule",
|
||||||
"description": "horizontal rule extension for tiptap",
|
"description": "horizontal rule extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,12 +29,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-image",
|
"name": "@tiptap/extension-image",
|
||||||
"description": "image extension for tiptap",
|
"description": "image extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,34 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-italic",
|
"name": "@tiptap/extension-italic",
|
||||||
"description": "italic extension for tiptap",
|
"description": "italic extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -29,10 +29,10 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1"
|
"@tiptap/core": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -1,5 +1,39 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 2.5.5
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [4cca382]
|
||||||
|
- Updated dependencies [3b67e8a]
|
||||||
|
- @tiptap/core@2.5.5
|
||||||
|
- @tiptap/pm@2.5.5
|
||||||
|
|
||||||
|
## 2.5.4
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- dd7f9ac: There was an issue with the cjs bundling of packages and default exports, now we resolve default exports in legacy compatible way
|
||||||
|
- Updated dependencies [dd7f9ac]
|
||||||
|
- @tiptap/core@2.5.4
|
||||||
|
- @tiptap/pm@2.5.4
|
||||||
|
|
||||||
|
## 2.5.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- a473826: Make openOnClick backwards compatible with previous `whenNotEditable` value, this is now the default and is deprecated
|
||||||
|
- @tiptap/core@2.5.3
|
||||||
|
- @tiptap/pm@2.5.3
|
||||||
|
|
||||||
|
## 2.5.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [07f4c03]
|
||||||
|
- @tiptap/core@2.5.2
|
||||||
|
- @tiptap/pm@2.5.2
|
||||||
|
|
||||||
## 2.5.1
|
## 2.5.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@tiptap/extension-link",
|
"name": "@tiptap/extension-link",
|
||||||
"description": "link extension for tiptap",
|
"description": "link extension for tiptap",
|
||||||
"version": "2.5.1",
|
"version": "2.5.5",
|
||||||
"homepage": "https://tiptap.dev",
|
"homepage": "https://tiptap.dev",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tiptap",
|
"tiptap",
|
||||||
@ -32,12 +32,12 @@
|
|||||||
"linkifyjs": "^4.1.0"
|
"linkifyjs": "^4.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tiptap/core": "^2.5.1",
|
"@tiptap/core": "^2.5.5",
|
||||||
"@tiptap/pm": "^2.5.1"
|
"@tiptap/pm": "^2.5.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,19 +16,22 @@ export default {
|
|||||||
file: pkg.umd,
|
file: pkg.umd,
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
|
interop: 'compat',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'auto',
|
exports: 'named',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es',
|
format: 'es',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
exports: 'named',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -3,7 +3,7 @@ import { MarkType } from '@tiptap/pm/model'
|
|||||||
import { Plugin, PluginKey } from '@tiptap/pm/state'
|
import { Plugin, PluginKey } from '@tiptap/pm/state'
|
||||||
|
|
||||||
type ClickHandlerOptions = {
|
type ClickHandlerOptions = {
|
||||||
type: MarkType
|
type: MarkType;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function clickHandler(options: ClickHandlerOptions): Plugin {
|
export function clickHandler(options: ClickHandlerOptions): Plugin {
|
||||||
@ -15,6 +15,10 @@ export function clickHandler(options: ClickHandlerOptions): Plugin {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!view.editable) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
let a = event.target as HTMLElement
|
let a = event.target as HTMLElement
|
||||||
const els = []
|
const els = []
|
||||||
|
|
||||||
|
@ -27,6 +27,11 @@ export interface LinkProtocolOptions {
|
|||||||
|
|
||||||
export const pasteRegex = /https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z]{2,}\b(?:[-a-zA-Z0-9@:%._+~#=?!&/]*)(?:[-a-zA-Z0-9@:%._+~#=?!&/]*)/gi
|
export const pasteRegex = /https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z]{2,}\b(?:[-a-zA-Z0-9@:%._+~#=?!&/]*)(?:[-a-zA-Z0-9@:%._+~#=?!&/]*)/gi
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated The default behavior is now to open links when the editor is not editable.
|
||||||
|
*/
|
||||||
|
type DeprecatedOpenWhenNotEditable = 'whenNotEditable';
|
||||||
|
|
||||||
export interface LinkOptions {
|
export interface LinkOptions {
|
||||||
/**
|
/**
|
||||||
* If enabled, the extension will automatically add links as you type.
|
* If enabled, the extension will automatically add links as you type.
|
||||||
@ -51,9 +56,8 @@ export interface LinkOptions {
|
|||||||
* If enabled, links will be opened on click.
|
* If enabled, links will be opened on click.
|
||||||
* @default true
|
* @default true
|
||||||
* @example false
|
* @example false
|
||||||
* @example 'whenNotEditable'
|
|
||||||
*/
|
*/
|
||||||
openOnClick: boolean
|
openOnClick: boolean | DeprecatedOpenWhenNotEditable
|
||||||
/**
|
/**
|
||||||
* Adds a link to the current selection if the pasted content only contains an url.
|
* Adds a link to the current selection if the pasted content only contains an url.
|
||||||
* @default true
|
* @default true
|
||||||
@ -269,7 +273,7 @@ export const Link = Mark.create<LinkOptions>({
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.options.openOnClick) {
|
if (this.options.openOnClick === true) {
|
||||||
plugins.push(
|
plugins.push(
|
||||||
clickHandler({
|
clickHandler({
|
||||||
type: this.type,
|
type: this.type,
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user