@magic-marker/prosemirror-suggest-changes 0.2.1-wrap-unwrap.2 → 0.3.0
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.
- package/dist/__tests__/playwrightBaseTest.d.ts +6 -0
- package/dist/__tests__/playwrightPage.d.ts +15 -0
- package/dist/commands.js +1 -10
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/decorations.js +4 -3
- package/dist/ensureSelectionPlugin.d.ts +13 -0
- package/dist/ensureSelectionPlugin.js +307 -0
- package/dist/generateId.js +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/plugin.js +2 -14
- package/dist/prependDeletionsWithZWSP.d.ts +2 -0
- package/dist/prependDeletionsWithZWSP.js +45 -0
- package/dist/replaceAroundStep.js +1 -6
- package/dist/replaceStep.js +3 -7
- package/dist/schema.d.ts +4 -2
- package/dist/schema.js +32 -39
- package/dist/testing/testBuilders.d.ts +2 -1
- package/dist/utils.d.ts +0 -1
- package/dist/utils.js +2 -6
- package/dist/withSuggestChanges.js +4 -0
- package/package.json +1 -1
- package/dist/contentBetween.d.ts +0 -2
- package/dist/contentBetween.js +0 -33
- package/dist/features/wrapUnwrap/__tests__/blockquoteUnwrapAllNodes.data.d.ts +0 -38
- package/dist/features/wrapUnwrap/__tests__/blockquoteUnwrapOneNode.data.d.ts +0 -45
- package/dist/features/wrapUnwrap/__tests__/blockquoteUnwrapOneNode.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/blockquoteUnwrapSingleNode.data.d.ts +0 -38
- package/dist/features/wrapUnwrap/__tests__/blockquoteUnwrapSingleNode.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/blockquoteUnwrapSingleNode.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/blockquoteWrapAllNodes.data.d.ts +0 -38
- package/dist/features/wrapUnwrap/__tests__/blockquoteWrapAllNodes.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/blockquoteWrapAllNodes.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/blockquoteWrapSingleNode.data.d.ts +0 -38
- package/dist/features/wrapUnwrap/__tests__/blockquoteWrapSingleNode.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/blockquoteWrapSingleNode.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftLast.data.d.ts +0 -54
- package/dist/features/wrapUnwrap/__tests__/listItemLiftLast.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftLast.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftMiddle.data.d.ts +0 -48
- package/dist/features/wrapUnwrap/__tests__/listItemLiftMiddle.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftMiddle.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftMultipleToTheTop.data.d.ts +0 -74
- package/dist/features/wrapUnwrap/__tests__/listItemLiftMultipleToTheTop.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftMultipleToTheTop.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftNestedOnce.data.d.ts +0 -71
- package/dist/features/wrapUnwrap/__tests__/listItemLiftNestedOnce.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftNestedOnce.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftTop.data.d.ts +0 -54
- package/dist/features/wrapUnwrap/__tests__/listItemLiftTop.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemLiftTop.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemSinkMultiple.data.d.ts +0 -221
- package/dist/features/wrapUnwrap/__tests__/listItemSinkMultiple.page.d.ts +0 -16
- package/dist/features/wrapUnwrap/__tests__/listItemSinkMultiple.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemSinkMultiple.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemSinkOneOnce.data.d.ts +0 -51
- package/dist/features/wrapUnwrap/__tests__/listItemSinkOneOnce.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemSinkOneOnce.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemsLiftMixedLevels.data.d.ts +0 -74
- package/dist/features/wrapUnwrap/__tests__/listItemsLiftMixedLevels.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/listItemsLiftMixedLevels.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/nestedListItemLiftToOuter.data.d.ts +0 -71
- package/dist/features/wrapUnwrap/__tests__/nestedListItemLiftToOuter.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/nestedListItemLiftToOuter.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/nestedListItemsLiftMultipleLevels.data.d.ts +0 -114
- package/dist/features/wrapUnwrap/__tests__/nestedListItemsLiftMultipleLevels.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/nestedListItemsLiftMultipleLevels.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/testUtils.d.ts +0 -5
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesToTheTop.data.d.ts +0 -44
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesToTheTop.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesToTheTop.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesUp.data.d.ts +0 -38
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesUp.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesUp.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeFromMiddle.data.d.ts +0 -46
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeFromMiddle.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeFromMiddle.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeToTheTop.data.d.ts +0 -57
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeToTheTop.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeToTheTop.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeUp.data.d.ts +0 -45
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeUp.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeUp.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteWrap.data.d.ts +0 -44
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteWrap.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteWrap.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteWrapMultiple.data.d.ts +0 -44
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteWrapMultiple.playwright.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteWrapMultiple.test.d.ts +0 -1
- package/dist/features/wrapUnwrap/handleStructureStep.d.ts +0 -4
- package/dist/features/wrapUnwrap/handleStructureStep.js +0 -630
- package/dist/features/wrapUnwrap/revertStructureSuggestion.d.ts +0 -44
- package/dist/features/wrapUnwrap/revertStructureSuggestion.js +0 -368
- package/dist/rebaseStep.d.ts +0 -9
- package/dist/rebaseStep.js +0 -11
- package/src/features/wrapUnwrap/README.md +0 -198
- /package/dist/features/{wrapUnwrap/__tests__/blockquoteUnwrapAllNodes.playwright.test.d.ts → hiddenDeletions/__tests__/hiddenDeletionsBehavior.playwright.test.d.ts} +0 -0
- /package/dist/features/{wrapUnwrap/__tests__/blockquoteUnwrapAllNodes.test.d.ts → joinBlocks/__tests__/joinBlockBackspace.playwright.test.d.ts} +0 -0
- /package/dist/features/{wrapUnwrap/__tests__/blockquoteUnwrapOneNode.playwright.test.d.ts → joinBlocks/__tests__/joinBlockDelete.playwright.test.d.ts} +0 -0
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
export declare const initialDoc: import("prosemirror-model").Node & {
|
|
2
|
-
tag: {
|
|
3
|
-
[tag: string]: number;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const finalDoc: import("prosemirror-model").Node & {
|
|
7
|
-
tag: {
|
|
8
|
-
[tag: string]: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const finalDocWithMarks: import("prosemirror-model").Node & {
|
|
12
|
-
tag: {
|
|
13
|
-
[tag: string]: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const steps: ({
|
|
17
|
-
stepType: string;
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
gapFrom: number;
|
|
21
|
-
gapTo: number;
|
|
22
|
-
insert: number;
|
|
23
|
-
slice: {
|
|
24
|
-
content: {
|
|
25
|
-
type: string;
|
|
26
|
-
content: {
|
|
27
|
-
type: string;
|
|
28
|
-
attrs: {
|
|
29
|
-
order: number;
|
|
30
|
-
};
|
|
31
|
-
}[];
|
|
32
|
-
}[];
|
|
33
|
-
openStart: number;
|
|
34
|
-
};
|
|
35
|
-
structure: boolean;
|
|
36
|
-
} | {
|
|
37
|
-
stepType: string;
|
|
38
|
-
from: number;
|
|
39
|
-
to: number;
|
|
40
|
-
gapFrom: number;
|
|
41
|
-
gapTo: number;
|
|
42
|
-
insert: number;
|
|
43
|
-
slice: {
|
|
44
|
-
content: {
|
|
45
|
-
type: string;
|
|
46
|
-
}[];
|
|
47
|
-
openStart: number;
|
|
48
|
-
};
|
|
49
|
-
structure: boolean;
|
|
50
|
-
} | {
|
|
51
|
-
stepType: string;
|
|
52
|
-
from: number;
|
|
53
|
-
to: number;
|
|
54
|
-
structure: boolean;
|
|
55
|
-
gapFrom?: never;
|
|
56
|
-
gapTo?: never;
|
|
57
|
-
insert?: never;
|
|
58
|
-
slice?: never;
|
|
59
|
-
})[];
|
|
60
|
-
export declare const inverseSteps: ({
|
|
61
|
-
stepType: string;
|
|
62
|
-
from: number;
|
|
63
|
-
to: number;
|
|
64
|
-
gapFrom: number;
|
|
65
|
-
gapTo: number;
|
|
66
|
-
insert: number;
|
|
67
|
-
slice: {
|
|
68
|
-
content: {
|
|
69
|
-
type: string;
|
|
70
|
-
}[];
|
|
71
|
-
openStart: number;
|
|
72
|
-
openEnd?: never;
|
|
73
|
-
};
|
|
74
|
-
structure: boolean;
|
|
75
|
-
} | {
|
|
76
|
-
stepType: string;
|
|
77
|
-
from: number;
|
|
78
|
-
to: number;
|
|
79
|
-
gapFrom: number;
|
|
80
|
-
gapTo: number;
|
|
81
|
-
insert: number;
|
|
82
|
-
slice: {
|
|
83
|
-
content: {
|
|
84
|
-
type: string;
|
|
85
|
-
content: {
|
|
86
|
-
type: string;
|
|
87
|
-
attrs: {
|
|
88
|
-
order: number;
|
|
89
|
-
};
|
|
90
|
-
}[];
|
|
91
|
-
}[];
|
|
92
|
-
openStart: number;
|
|
93
|
-
openEnd?: never;
|
|
94
|
-
};
|
|
95
|
-
structure: boolean;
|
|
96
|
-
} | {
|
|
97
|
-
stepType: string;
|
|
98
|
-
from: number;
|
|
99
|
-
to: number;
|
|
100
|
-
slice: {
|
|
101
|
-
content: {
|
|
102
|
-
type: string;
|
|
103
|
-
attrs: {
|
|
104
|
-
order: number;
|
|
105
|
-
};
|
|
106
|
-
}[];
|
|
107
|
-
openStart: number;
|
|
108
|
-
openEnd: number;
|
|
109
|
-
};
|
|
110
|
-
gapFrom?: never;
|
|
111
|
-
gapTo?: never;
|
|
112
|
-
insert?: never;
|
|
113
|
-
structure?: never;
|
|
114
|
-
})[];
|
package/dist/features/wrapUnwrap/__tests__/nestedListItemsLiftMultipleLevels.playwright.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type Node } from "prosemirror-model";
|
|
2
|
-
import { type Command } from "prosemirror-state";
|
|
3
|
-
export declare function assertCommandThrows(doc: Node, command: Command, errorMessage: string): void;
|
|
4
|
-
export declare function assertDocumentChanged(docA: Node, docB: Node, command: Command): void;
|
|
5
|
-
export declare function applySteps(stepsData: object[], logInverseSteps?: boolean): Command;
|
package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesToTheTop.data.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const initialDoc: import("prosemirror-model").Node & {
|
|
2
|
-
tag: {
|
|
3
|
-
[tag: string]: number;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const finalDoc: import("prosemirror-model").Node & {
|
|
7
|
-
tag: {
|
|
8
|
-
[tag: string]: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const finalDocWithMarks: import("prosemirror-model").Node & {
|
|
12
|
-
tag: {
|
|
13
|
-
[tag: string]: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const steps: {
|
|
17
|
-
stepType: string;
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
gapFrom: number;
|
|
21
|
-
gapTo: number;
|
|
22
|
-
insert: number;
|
|
23
|
-
structure: boolean;
|
|
24
|
-
}[];
|
|
25
|
-
export declare const inverseSteps: {
|
|
26
|
-
stepType: string;
|
|
27
|
-
from: number;
|
|
28
|
-
to: number;
|
|
29
|
-
gapFrom: number;
|
|
30
|
-
gapTo: number;
|
|
31
|
-
insert: number;
|
|
32
|
-
slice: {
|
|
33
|
-
content: {
|
|
34
|
-
type: string;
|
|
35
|
-
content: {
|
|
36
|
-
type: string;
|
|
37
|
-
content: {
|
|
38
|
-
type: string;
|
|
39
|
-
}[];
|
|
40
|
-
}[];
|
|
41
|
-
}[];
|
|
42
|
-
};
|
|
43
|
-
structure: boolean;
|
|
44
|
-
}[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesToTheTop.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare const initialDoc: import("prosemirror-model").Node & {
|
|
2
|
-
tag: {
|
|
3
|
-
[tag: string]: number;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const finalDoc: import("prosemirror-model").Node & {
|
|
7
|
-
tag: {
|
|
8
|
-
[tag: string]: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const finalDocWithMarks: import("prosemirror-model").Node & {
|
|
12
|
-
tag: {
|
|
13
|
-
[tag: string]: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const steps: {
|
|
17
|
-
stepType: string;
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
gapFrom: number;
|
|
21
|
-
gapTo: number;
|
|
22
|
-
insert: number;
|
|
23
|
-
structure: boolean;
|
|
24
|
-
}[];
|
|
25
|
-
export declare const inverseSteps: {
|
|
26
|
-
stepType: string;
|
|
27
|
-
from: number;
|
|
28
|
-
to: number;
|
|
29
|
-
gapFrom: number;
|
|
30
|
-
gapTo: number;
|
|
31
|
-
insert: number;
|
|
32
|
-
slice: {
|
|
33
|
-
content: {
|
|
34
|
-
type: string;
|
|
35
|
-
}[];
|
|
36
|
-
};
|
|
37
|
-
structure: boolean;
|
|
38
|
-
}[];
|
package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftMultipleNodesUp.playwright.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export declare const initialDoc: import("prosemirror-model").Node & {
|
|
2
|
-
tag: {
|
|
3
|
-
[tag: string]: number;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const finalDoc: import("prosemirror-model").Node & {
|
|
7
|
-
tag: {
|
|
8
|
-
[tag: string]: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const finalDocWithMarks: import("prosemirror-model").Node & {
|
|
12
|
-
tag: {
|
|
13
|
-
[tag: string]: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const steps: {
|
|
17
|
-
stepType: string;
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
gapFrom: number;
|
|
21
|
-
gapTo: number;
|
|
22
|
-
insert: number;
|
|
23
|
-
slice: {
|
|
24
|
-
content: {
|
|
25
|
-
type: string;
|
|
26
|
-
content: {
|
|
27
|
-
type: string;
|
|
28
|
-
content: {
|
|
29
|
-
type: string;
|
|
30
|
-
}[];
|
|
31
|
-
}[];
|
|
32
|
-
}[];
|
|
33
|
-
openStart: number;
|
|
34
|
-
openEnd: number;
|
|
35
|
-
};
|
|
36
|
-
structure: boolean;
|
|
37
|
-
}[];
|
|
38
|
-
export declare const inverseSteps: {
|
|
39
|
-
stepType: string;
|
|
40
|
-
from: number;
|
|
41
|
-
to: number;
|
|
42
|
-
gapFrom: number;
|
|
43
|
-
gapTo: number;
|
|
44
|
-
insert: number;
|
|
45
|
-
structure: boolean;
|
|
46
|
-
}[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export declare const initialDoc: import("prosemirror-model").Node & {
|
|
2
|
-
tag: {
|
|
3
|
-
[tag: string]: number;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const finalDoc: import("prosemirror-model").Node & {
|
|
7
|
-
tag: {
|
|
8
|
-
[tag: string]: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const finalDocWithMarks: import("prosemirror-model").Node & {
|
|
12
|
-
tag: {
|
|
13
|
-
[tag: string]: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const steps: {
|
|
17
|
-
stepType: string;
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
gapFrom: number;
|
|
21
|
-
gapTo: number;
|
|
22
|
-
insert: number;
|
|
23
|
-
slice: {
|
|
24
|
-
content: {
|
|
25
|
-
type: string;
|
|
26
|
-
content: {
|
|
27
|
-
type: string;
|
|
28
|
-
content: {
|
|
29
|
-
type: string;
|
|
30
|
-
}[];
|
|
31
|
-
}[];
|
|
32
|
-
}[];
|
|
33
|
-
openStart: number;
|
|
34
|
-
};
|
|
35
|
-
structure: boolean;
|
|
36
|
-
}[];
|
|
37
|
-
export declare const inverseSteps: {
|
|
38
|
-
stepType: string;
|
|
39
|
-
from: number;
|
|
40
|
-
to: number;
|
|
41
|
-
gapFrom: number;
|
|
42
|
-
gapTo: number;
|
|
43
|
-
insert: number;
|
|
44
|
-
slice: {
|
|
45
|
-
content: {
|
|
46
|
-
type: string;
|
|
47
|
-
content: {
|
|
48
|
-
type: string;
|
|
49
|
-
content: {
|
|
50
|
-
type: string;
|
|
51
|
-
}[];
|
|
52
|
-
}[];
|
|
53
|
-
}[];
|
|
54
|
-
openStart: number;
|
|
55
|
-
};
|
|
56
|
-
structure: boolean;
|
|
57
|
-
}[];
|
package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeToTheTop.playwright.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const initialDoc: import("prosemirror-model").Node & {
|
|
2
|
-
tag: {
|
|
3
|
-
[tag: string]: number;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const finalDoc: import("prosemirror-model").Node & {
|
|
7
|
-
tag: {
|
|
8
|
-
[tag: string]: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const finalDocWithMarks: import("prosemirror-model").Node & {
|
|
12
|
-
tag: {
|
|
13
|
-
[tag: string]: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const steps: {
|
|
17
|
-
stepType: string;
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
gapFrom: number;
|
|
21
|
-
gapTo: number;
|
|
22
|
-
insert: number;
|
|
23
|
-
slice: {
|
|
24
|
-
content: {
|
|
25
|
-
type: string;
|
|
26
|
-
}[];
|
|
27
|
-
openStart: number;
|
|
28
|
-
};
|
|
29
|
-
structure: boolean;
|
|
30
|
-
}[];
|
|
31
|
-
export declare const inverseSteps: {
|
|
32
|
-
stepType: string;
|
|
33
|
-
from: number;
|
|
34
|
-
to: number;
|
|
35
|
-
gapFrom: number;
|
|
36
|
-
gapTo: number;
|
|
37
|
-
insert: number;
|
|
38
|
-
slice: {
|
|
39
|
-
content: {
|
|
40
|
-
type: string;
|
|
41
|
-
}[];
|
|
42
|
-
openStart: number;
|
|
43
|
-
};
|
|
44
|
-
structure: boolean;
|
|
45
|
-
}[];
|
package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteLiftOneNodeUp.playwright.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const initialDoc: import("prosemirror-model").Node & {
|
|
2
|
-
tag: {
|
|
3
|
-
[tag: string]: number;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const finalDoc: import("prosemirror-model").Node & {
|
|
7
|
-
tag: {
|
|
8
|
-
[tag: string]: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const finalDocWithMarks: import("prosemirror-model").Node & {
|
|
12
|
-
tag: {
|
|
13
|
-
[tag: string]: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const steps: {
|
|
17
|
-
stepType: string;
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
gapFrom: number;
|
|
21
|
-
gapTo: number;
|
|
22
|
-
insert: number;
|
|
23
|
-
slice: {
|
|
24
|
-
content: {
|
|
25
|
-
type: string;
|
|
26
|
-
content: {
|
|
27
|
-
type: string;
|
|
28
|
-
content: {
|
|
29
|
-
type: string;
|
|
30
|
-
}[];
|
|
31
|
-
}[];
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
structure: boolean;
|
|
35
|
-
}[];
|
|
36
|
-
export declare const inverseSteps: {
|
|
37
|
-
stepType: string;
|
|
38
|
-
from: number;
|
|
39
|
-
to: number;
|
|
40
|
-
gapFrom: number;
|
|
41
|
-
gapTo: number;
|
|
42
|
-
insert: number;
|
|
43
|
-
structure: boolean;
|
|
44
|
-
}[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const initialDoc: import("prosemirror-model").Node & {
|
|
2
|
-
tag: {
|
|
3
|
-
[tag: string]: number;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const finalDoc: import("prosemirror-model").Node & {
|
|
7
|
-
tag: {
|
|
8
|
-
[tag: string]: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const finalDocWithMarks: import("prosemirror-model").Node & {
|
|
12
|
-
tag: {
|
|
13
|
-
[tag: string]: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const steps: {
|
|
17
|
-
stepType: string;
|
|
18
|
-
from: number;
|
|
19
|
-
to: number;
|
|
20
|
-
gapFrom: number;
|
|
21
|
-
gapTo: number;
|
|
22
|
-
insert: number;
|
|
23
|
-
slice: {
|
|
24
|
-
content: {
|
|
25
|
-
type: string;
|
|
26
|
-
content: {
|
|
27
|
-
type: string;
|
|
28
|
-
content: {
|
|
29
|
-
type: string;
|
|
30
|
-
}[];
|
|
31
|
-
}[];
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
structure: boolean;
|
|
35
|
-
}[];
|
|
36
|
-
export declare const inverseSteps: {
|
|
37
|
-
stepType: string;
|
|
38
|
-
from: number;
|
|
39
|
-
to: number;
|
|
40
|
-
gapFrom: number;
|
|
41
|
-
gapTo: number;
|
|
42
|
-
insert: number;
|
|
43
|
-
structure: boolean;
|
|
44
|
-
}[];
|
package/dist/features/wrapUnwrap/__tests__/tripleBlockquoteWrapMultiple.playwright.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type Step } from "prosemirror-transform";
|
|
2
|
-
import { type EditorState, type Transaction } from "prosemirror-state";
|
|
3
|
-
import { type SuggestionId } from "../../generateId.js";
|
|
4
|
-
export declare function handleStructureStep(trackedTransaction: Transaction, state: EditorState, step: Step, prevSteps: Step[], suggestionId: SuggestionId): boolean;
|