@tiptap/extension-table-cell 2.5.3 → 2.5.5
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.
|
@@ -6,10 +6,8 @@ import { ExtensionManager } from './ExtensionManager.js';
|
|
|
6
6
|
import { NodePos } from './NodePos.js';
|
|
7
7
|
import { CanCommands, ChainedCommands, EditorEvents, EditorOptions, JSONContent, SingleCommands, TextSerializer } from './types.js';
|
|
8
8
|
export * as extensions from './extensions/index.js';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
editor?: Editor;
|
|
12
|
-
}
|
|
9
|
+
export interface TiptapEditorHTMLElement extends HTMLElement {
|
|
10
|
+
editor?: Editor;
|
|
13
11
|
}
|
|
14
12
|
export declare class Editor extends EventEmitter<EditorEvents> {
|
|
15
13
|
private commandManager;
|
|
@@ -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-cell",
|
|
3
3
|
"description": "table cell extension for tiptap",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.5",
|
|
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.
|
|
32
|
+
"@tiptap/core": "^2.5.5"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@tiptap/core": "^2.5.
|
|
35
|
+
"@tiptap/core": "^2.5.5"
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|