@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,71 +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
|
-
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
|
-
}[];
|
|
48
|
-
openStart: number;
|
|
49
|
-
};
|
|
50
|
-
structure: boolean;
|
|
51
|
-
} | {
|
|
52
|
-
stepType: string;
|
|
53
|
-
from: number;
|
|
54
|
-
to: number;
|
|
55
|
-
gapFrom: number;
|
|
56
|
-
gapTo: number;
|
|
57
|
-
insert: number;
|
|
58
|
-
slice: {
|
|
59
|
-
content: {
|
|
60
|
-
type: string;
|
|
61
|
-
content: {
|
|
62
|
-
type: string;
|
|
63
|
-
attrs: {
|
|
64
|
-
order: number;
|
|
65
|
-
};
|
|
66
|
-
}[];
|
|
67
|
-
}[];
|
|
68
|
-
openStart: number;
|
|
69
|
-
};
|
|
70
|
-
structure: boolean;
|
|
71
|
-
})[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,54 +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
|
-
attrs: {
|
|
27
|
-
order: number;
|
|
28
|
-
};
|
|
29
|
-
}[];
|
|
30
|
-
openEnd: number;
|
|
31
|
-
};
|
|
32
|
-
structure: boolean;
|
|
33
|
-
}[];
|
|
34
|
-
export declare const inverseSteps: {
|
|
35
|
-
stepType: string;
|
|
36
|
-
from: number;
|
|
37
|
-
to: number;
|
|
38
|
-
gapFrom: number;
|
|
39
|
-
gapTo: number;
|
|
40
|
-
insert: number;
|
|
41
|
-
slice: {
|
|
42
|
-
content: {
|
|
43
|
-
type: string;
|
|
44
|
-
attrs: {
|
|
45
|
-
order: number;
|
|
46
|
-
};
|
|
47
|
-
content: {
|
|
48
|
-
type: string;
|
|
49
|
-
}[];
|
|
50
|
-
}[];
|
|
51
|
-
openEnd: number;
|
|
52
|
-
};
|
|
53
|
-
structure: boolean;
|
|
54
|
-
}[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,221 +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 finalDocWithMarksJSON: {
|
|
17
|
-
type: string;
|
|
18
|
-
content: {
|
|
19
|
-
type: string;
|
|
20
|
-
attrs: {
|
|
21
|
-
order: number;
|
|
22
|
-
};
|
|
23
|
-
content: ({
|
|
24
|
-
type: string;
|
|
25
|
-
content: {
|
|
26
|
-
type: string;
|
|
27
|
-
content: {
|
|
28
|
-
type: string;
|
|
29
|
-
text: string;
|
|
30
|
-
}[];
|
|
31
|
-
}[];
|
|
32
|
-
marks?: never;
|
|
33
|
-
} | {
|
|
34
|
-
type: string;
|
|
35
|
-
content: ({
|
|
36
|
-
type: string;
|
|
37
|
-
content: {
|
|
38
|
-
type: string;
|
|
39
|
-
text: string;
|
|
40
|
-
}[];
|
|
41
|
-
attrs?: never;
|
|
42
|
-
marks?: never;
|
|
43
|
-
} | {
|
|
44
|
-
type: string;
|
|
45
|
-
attrs: {
|
|
46
|
-
order: number;
|
|
47
|
-
};
|
|
48
|
-
content: {
|
|
49
|
-
type: string;
|
|
50
|
-
content: {
|
|
51
|
-
type: string;
|
|
52
|
-
content: {
|
|
53
|
-
type: string;
|
|
54
|
-
text: string;
|
|
55
|
-
}[];
|
|
56
|
-
}[];
|
|
57
|
-
}[];
|
|
58
|
-
marks: ({
|
|
59
|
-
type: string;
|
|
60
|
-
attrs: {
|
|
61
|
-
id: number;
|
|
62
|
-
data: {
|
|
63
|
-
value: string;
|
|
64
|
-
position: string;
|
|
65
|
-
fromOffset: number;
|
|
66
|
-
type: string;
|
|
67
|
-
slice: {
|
|
68
|
-
content: {
|
|
69
|
-
type: string;
|
|
70
|
-
}[];
|
|
71
|
-
openStart: number;
|
|
72
|
-
};
|
|
73
|
-
insert: number;
|
|
74
|
-
structure: boolean;
|
|
75
|
-
debug: {
|
|
76
|
-
inverseFrom: number;
|
|
77
|
-
inverseTo: number;
|
|
78
|
-
inverseGapFrom: number;
|
|
79
|
-
inverseGapTo: number;
|
|
80
|
-
gapFromOffset: number;
|
|
81
|
-
gapToOffset: number;
|
|
82
|
-
fromOffset: number;
|
|
83
|
-
toOffset: number;
|
|
84
|
-
};
|
|
85
|
-
toOffset?: never;
|
|
86
|
-
gapFromOffset?: never;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
} | {
|
|
90
|
-
type: string;
|
|
91
|
-
attrs: {
|
|
92
|
-
id: number;
|
|
93
|
-
data: {
|
|
94
|
-
value: string;
|
|
95
|
-
position: string;
|
|
96
|
-
toOffset: number;
|
|
97
|
-
type: string;
|
|
98
|
-
slice: {
|
|
99
|
-
content: {
|
|
100
|
-
type: string;
|
|
101
|
-
}[];
|
|
102
|
-
openStart: number;
|
|
103
|
-
};
|
|
104
|
-
insert: number;
|
|
105
|
-
structure: boolean;
|
|
106
|
-
debug: {
|
|
107
|
-
inverseFrom: number;
|
|
108
|
-
inverseTo: number;
|
|
109
|
-
inverseGapFrom: number;
|
|
110
|
-
inverseGapTo: number;
|
|
111
|
-
gapFromOffset: number;
|
|
112
|
-
gapToOffset: number;
|
|
113
|
-
fromOffset: number;
|
|
114
|
-
toOffset: number;
|
|
115
|
-
};
|
|
116
|
-
fromOffset?: never;
|
|
117
|
-
gapFromOffset?: never;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
} | {
|
|
121
|
-
type: string;
|
|
122
|
-
attrs: {
|
|
123
|
-
id: number;
|
|
124
|
-
data: {
|
|
125
|
-
value: string;
|
|
126
|
-
position: string;
|
|
127
|
-
gapFromOffset: number;
|
|
128
|
-
type: string;
|
|
129
|
-
slice: {
|
|
130
|
-
content: {
|
|
131
|
-
type: string;
|
|
132
|
-
}[];
|
|
133
|
-
openStart: number;
|
|
134
|
-
};
|
|
135
|
-
insert: number;
|
|
136
|
-
structure: boolean;
|
|
137
|
-
debug: {
|
|
138
|
-
inverseFrom: number;
|
|
139
|
-
inverseTo: number;
|
|
140
|
-
inverseGapFrom: number;
|
|
141
|
-
inverseGapTo: number;
|
|
142
|
-
gapFromOffset: number;
|
|
143
|
-
gapToOffset: number;
|
|
144
|
-
fromOffset: number;
|
|
145
|
-
toOffset: number;
|
|
146
|
-
};
|
|
147
|
-
fromOffset?: never;
|
|
148
|
-
toOffset?: never;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
})[];
|
|
152
|
-
})[];
|
|
153
|
-
marks: {
|
|
154
|
-
type: string;
|
|
155
|
-
attrs: {
|
|
156
|
-
id: number;
|
|
157
|
-
data: {
|
|
158
|
-
value: string;
|
|
159
|
-
position: string;
|
|
160
|
-
gapToOffset: number;
|
|
161
|
-
type: string;
|
|
162
|
-
slice: {
|
|
163
|
-
content: {
|
|
164
|
-
type: string;
|
|
165
|
-
}[];
|
|
166
|
-
openStart: number;
|
|
167
|
-
};
|
|
168
|
-
insert: number;
|
|
169
|
-
structure: boolean;
|
|
170
|
-
debug: {
|
|
171
|
-
inverseFrom: number;
|
|
172
|
-
inverseTo: number;
|
|
173
|
-
inverseGapFrom: number;
|
|
174
|
-
inverseGapTo: number;
|
|
175
|
-
gapFromOffset: number;
|
|
176
|
-
gapToOffset: number;
|
|
177
|
-
fromOffset: number;
|
|
178
|
-
toOffset: number;
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
}[];
|
|
183
|
-
})[];
|
|
184
|
-
}[];
|
|
185
|
-
};
|
|
186
|
-
export declare const steps: {
|
|
187
|
-
stepType: string;
|
|
188
|
-
from: number;
|
|
189
|
-
to: number;
|
|
190
|
-
gapFrom: number;
|
|
191
|
-
gapTo: number;
|
|
192
|
-
insert: number;
|
|
193
|
-
slice: {
|
|
194
|
-
content: {
|
|
195
|
-
type: string;
|
|
196
|
-
content: {
|
|
197
|
-
type: string;
|
|
198
|
-
attrs: {
|
|
199
|
-
order: number;
|
|
200
|
-
};
|
|
201
|
-
}[];
|
|
202
|
-
}[];
|
|
203
|
-
openStart: number;
|
|
204
|
-
};
|
|
205
|
-
structure: boolean;
|
|
206
|
-
}[];
|
|
207
|
-
export declare const inverseSteps: {
|
|
208
|
-
stepType: string;
|
|
209
|
-
from: number;
|
|
210
|
-
to: number;
|
|
211
|
-
gapFrom: number;
|
|
212
|
-
gapTo: number;
|
|
213
|
-
insert: number;
|
|
214
|
-
slice: {
|
|
215
|
-
content: {
|
|
216
|
-
type: string;
|
|
217
|
-
}[];
|
|
218
|
-
openStart: number;
|
|
219
|
-
};
|
|
220
|
-
structure: boolean;
|
|
221
|
-
}[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type Page } from "@playwright/test";
|
|
2
|
-
import { type SuggestionId } from "../../../generateId.js";
|
|
3
|
-
export declare class ListItemSinkMultiplePage {
|
|
4
|
-
readonly page: Page;
|
|
5
|
-
constructor(page: Page);
|
|
6
|
-
setup(): Promise<void>;
|
|
7
|
-
sinkMultipleListItems(): Promise<void>;
|
|
8
|
-
joinListItems({ joinParagraphs, }: {
|
|
9
|
-
joinParagraphs?: boolean;
|
|
10
|
-
}): Promise<void>;
|
|
11
|
-
revertSuggestion(suggestionId: SuggestionId, opts?: {
|
|
12
|
-
structure?: boolean;
|
|
13
|
-
}): Promise<void>;
|
|
14
|
-
getCurrentDocJSON(): Promise<unknown>;
|
|
15
|
-
getInitialDocJSON(): object;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,51 +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
|
-
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
|
-
}[];
|
|
48
|
-
openStart: number;
|
|
49
|
-
};
|
|
50
|
-
structure: boolean;
|
|
51
|
-
}[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,74 +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?: never;
|
|
21
|
-
gapTo?: never;
|
|
22
|
-
insert?: never;
|
|
23
|
-
slice?: never;
|
|
24
|
-
structure?: never;
|
|
25
|
-
} | {
|
|
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
|
-
attrs: {
|
|
36
|
-
order: number;
|
|
37
|
-
};
|
|
38
|
-
}[];
|
|
39
|
-
openStart: number;
|
|
40
|
-
openEnd: number;
|
|
41
|
-
};
|
|
42
|
-
structure: boolean;
|
|
43
|
-
})[];
|
|
44
|
-
export declare const inverseSteps: ({
|
|
45
|
-
stepType: string;
|
|
46
|
-
from: number;
|
|
47
|
-
to: number;
|
|
48
|
-
slice: {
|
|
49
|
-
content: {
|
|
50
|
-
type: string;
|
|
51
|
-
}[];
|
|
52
|
-
openStart: number;
|
|
53
|
-
openEnd: number;
|
|
54
|
-
};
|
|
55
|
-
gapFrom?: never;
|
|
56
|
-
gapTo?: never;
|
|
57
|
-
insert?: never;
|
|
58
|
-
structure?: never;
|
|
59
|
-
} | {
|
|
60
|
-
stepType: string;
|
|
61
|
-
from: number;
|
|
62
|
-
to: number;
|
|
63
|
-
gapFrom: number;
|
|
64
|
-
gapTo: number;
|
|
65
|
-
insert: number;
|
|
66
|
-
slice: {
|
|
67
|
-
content: {
|
|
68
|
-
type: string;
|
|
69
|
-
}[];
|
|
70
|
-
openStart?: never;
|
|
71
|
-
openEnd?: never;
|
|
72
|
-
};
|
|
73
|
-
structure: boolean;
|
|
74
|
-
})[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,71 +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
|
-
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
|
-
}[];
|
|
48
|
-
openStart: number;
|
|
49
|
-
};
|
|
50
|
-
structure: boolean;
|
|
51
|
-
} | {
|
|
52
|
-
stepType: string;
|
|
53
|
-
from: number;
|
|
54
|
-
to: number;
|
|
55
|
-
gapFrom: number;
|
|
56
|
-
gapTo: number;
|
|
57
|
-
insert: number;
|
|
58
|
-
slice: {
|
|
59
|
-
content: {
|
|
60
|
-
type: string;
|
|
61
|
-
content: {
|
|
62
|
-
type: string;
|
|
63
|
-
attrs: {
|
|
64
|
-
order: number;
|
|
65
|
-
};
|
|
66
|
-
}[];
|
|
67
|
-
}[];
|
|
68
|
-
openStart: number;
|
|
69
|
-
};
|
|
70
|
-
structure: boolean;
|
|
71
|
-
})[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|