@tiptap/extension-table-row 2.5.0-beta.6 → 2.5.0-pre.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,7 +34,7 @@ declare module '@tiptap/core' {
|
|
|
34
34
|
defaultOptions?: Options;
|
|
35
35
|
/**
|
|
36
36
|
* This method will add options to this extension
|
|
37
|
-
* @see https://tiptap.dev/guide/custom-extensions#settings
|
|
37
|
+
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#settings
|
|
38
38
|
* @example
|
|
39
39
|
* addOptions() {
|
|
40
40
|
* return {
|
|
@@ -48,7 +48,7 @@ declare module '@tiptap/core' {
|
|
|
48
48
|
}) => Options;
|
|
49
49
|
/**
|
|
50
50
|
* The default storage this extension can save data to.
|
|
51
|
-
* @see https://tiptap.dev/guide/custom-extensions#storage
|
|
51
|
+
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#storage
|
|
52
52
|
* @example
|
|
53
53
|
* defaultStorage: {
|
|
54
54
|
* prefetchedUsers: [],
|
|
@@ -62,7 +62,7 @@ declare module '@tiptap/core' {
|
|
|
62
62
|
}) => Storage;
|
|
63
63
|
/**
|
|
64
64
|
* This function adds globalAttributes to specific nodes.
|
|
65
|
-
* @see https://tiptap.dev/guide/custom-extensions#global-attributes
|
|
65
|
+
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#global-attributes
|
|
66
66
|
* @example
|
|
67
67
|
* addGlobalAttributes() {
|
|
68
68
|
* return [
|
|
@@ -95,7 +95,7 @@ declare module '@tiptap/core' {
|
|
|
95
95
|
}) => GlobalAttributes;
|
|
96
96
|
/**
|
|
97
97
|
* This function adds commands to the editor
|
|
98
|
-
* @see https://tiptap.dev/guide/custom-extensions#
|
|
98
|
+
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#commands
|
|
99
99
|
* @example
|
|
100
100
|
* addCommands() {
|
|
101
101
|
* return {
|
|
@@ -112,7 +112,7 @@ declare module '@tiptap/core' {
|
|
|
112
112
|
}) => Partial<RawCommands>;
|
|
113
113
|
/**
|
|
114
114
|
* This function registers keyboard shortcuts.
|
|
115
|
-
* @see https://tiptap.dev/guide/custom-extensions#keyboard-shortcuts
|
|
115
|
+
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#keyboard-shortcuts
|
|
116
116
|
* @example
|
|
117
117
|
* addKeyboardShortcuts() {
|
|
118
118
|
* return {
|
|
@@ -131,7 +131,7 @@ declare module '@tiptap/core' {
|
|
|
131
131
|
};
|
|
132
132
|
/**
|
|
133
133
|
* This function adds input rules to the editor.
|
|
134
|
-
* @see https://tiptap.dev/guide/custom-extensions#input-rules
|
|
134
|
+
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#input-rules
|
|
135
135
|
* @example
|
|
136
136
|
* addInputRules() {
|
|
137
137
|
* return [
|
|
@@ -151,7 +151,7 @@ declare module '@tiptap/core' {
|
|
|
151
151
|
}) => InputRule[];
|
|
152
152
|
/**
|
|
153
153
|
* This function adds paste rules to the editor.
|
|
154
|
-
* @see https://tiptap.dev/guide/custom-extensions#paste-rules
|
|
154
|
+
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#paste-rules
|
|
155
155
|
* @example
|
|
156
156
|
* addPasteRules() {
|
|
157
157
|
* return [
|
|
@@ -171,7 +171,7 @@ declare module '@tiptap/core' {
|
|
|
171
171
|
}) => PasteRule[];
|
|
172
172
|
/**
|
|
173
173
|
* This function adds Prosemirror plugins to the editor
|
|
174
|
-
* @see https://tiptap.dev/guide/custom-extensions#prosemirror-plugins
|
|
174
|
+
* @see https://tiptap.dev/docs/editor/guide/custom-extensions#prosemirror-plugins
|
|
175
175
|
* @example
|
|
176
176
|
* addProseMirrorPlugins() {
|
|
177
177
|
* return [
|
|
@@ -40,6 +40,11 @@ export interface EditorEvents {
|
|
|
40
40
|
editor: Editor;
|
|
41
41
|
transaction: Transaction;
|
|
42
42
|
};
|
|
43
|
+
beforeTransaction: {
|
|
44
|
+
editor: Editor;
|
|
45
|
+
transaction: Transaction;
|
|
46
|
+
nextState: EditorState;
|
|
47
|
+
};
|
|
43
48
|
transaction: {
|
|
44
49
|
editor: Editor;
|
|
45
50
|
transaction: Transaction;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/extension-table-row",
|
|
3
3
|
"description": "table row extension for tiptap",
|
|
4
|
-
"version": "2.5.0-
|
|
4
|
+
"version": "2.5.0-pre.10",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@tiptap/core": "^2.5.0-
|
|
32
|
+
"@tiptap/core": "^2.5.0-pre.10"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@tiptap/core": "^2.0.
|
|
35
|
+
"@tiptap/core": "^2.5.0-pre.10"
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|