@white-give/editor-react 1.0.2 → 1.0.4
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/es/index.js +12 -11
- package/dist/index.css +1 -1
- package/dist/index.d.ts +48 -48
- package/dist/lib/index.cjs +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -116,6 +116,15 @@ declare module '@tiptap/core' {
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
|
|
119
|
+
declare module '@tiptap/core' {
|
|
120
|
+
interface Commands<ReturnType> {
|
|
121
|
+
insertDatetime: {
|
|
122
|
+
insertDatetime: (options: any) => ReturnType;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
119
128
|
declare module '@tiptap/core' {
|
|
120
129
|
interface Commands<ReturnType> {
|
|
121
130
|
setEcharts: {
|
|
@@ -142,8 +151,11 @@ declare module '@tiptap/core' {
|
|
|
142
151
|
|
|
143
152
|
declare module '@tiptap/core' {
|
|
144
153
|
interface Commands<ReturnType> {
|
|
145
|
-
|
|
146
|
-
|
|
154
|
+
setFontSize: {
|
|
155
|
+
setFontSize: (fontSize: any) => ReturnType;
|
|
156
|
+
};
|
|
157
|
+
unsetFontSize: {
|
|
158
|
+
unsetFontSize: () => ReturnType;
|
|
147
159
|
};
|
|
148
160
|
}
|
|
149
161
|
}
|
|
@@ -160,22 +172,42 @@ declare module '@tiptap/core' {
|
|
|
160
172
|
}
|
|
161
173
|
}
|
|
162
174
|
|
|
175
|
+
declare module '@tiptap/core' {
|
|
176
|
+
interface Commands<ReturnType> {
|
|
177
|
+
setHr: {
|
|
178
|
+
setHr: (option: any) => ReturnType;
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
163
183
|
|
|
164
184
|
declare module '@tiptap/core' {
|
|
165
185
|
interface Commands<ReturnType> {
|
|
166
|
-
|
|
167
|
-
|
|
186
|
+
setLineHeight: {
|
|
187
|
+
setLineHeight: (lineHeight: any) => ReturnType;
|
|
168
188
|
};
|
|
169
|
-
|
|
170
|
-
|
|
189
|
+
unsetLineHeight: {
|
|
190
|
+
unsetLineHeight: () => ReturnType;
|
|
171
191
|
};
|
|
172
192
|
}
|
|
173
193
|
}
|
|
174
194
|
|
|
195
|
+
|
|
175
196
|
declare module '@tiptap/core' {
|
|
176
197
|
interface Commands<ReturnType> {
|
|
177
|
-
|
|
178
|
-
|
|
198
|
+
setMargin: {
|
|
199
|
+
setMargin: (options: any) => ReturnType;
|
|
200
|
+
};
|
|
201
|
+
unsetMargin: {
|
|
202
|
+
unsetMargin: () => ReturnType;
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
declare module '@tiptap/core' {
|
|
208
|
+
interface Commands<ReturnType> {
|
|
209
|
+
insertMention: {
|
|
210
|
+
insertMention: (options: any) => ReturnType;
|
|
179
211
|
};
|
|
180
212
|
}
|
|
181
213
|
}
|
|
@@ -215,31 +247,11 @@ declare module '@tiptap/core' {
|
|
|
215
247
|
|
|
216
248
|
declare module '@tiptap/core' {
|
|
217
249
|
interface Commands<ReturnType> {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
};
|
|
221
|
-
unsetLineHeight: {
|
|
222
|
-
unsetLineHeight: () => ReturnType;
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
declare module '@tiptap/core' {
|
|
229
|
-
interface Commands<ReturnType> {
|
|
230
|
-
setMargin: {
|
|
231
|
-
setMargin: (options: any) => ReturnType;
|
|
232
|
-
};
|
|
233
|
-
unsetMargin: {
|
|
234
|
-
unsetMargin: () => ReturnType;
|
|
250
|
+
setNodeAlign: {
|
|
251
|
+
setNodeAlign: (options: any) => ReturnType;
|
|
235
252
|
};
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
declare module '@tiptap/core' {
|
|
240
|
-
interface Commands<ReturnType> {
|
|
241
|
-
insertMention: {
|
|
242
|
-
insertMention: (options: any) => ReturnType;
|
|
253
|
+
unsetNodeAlign: {
|
|
254
|
+
unsetNodeAlign: () => ReturnType;
|
|
243
255
|
};
|
|
244
256
|
}
|
|
245
257
|
}
|
|
@@ -259,20 +271,8 @@ declare module '@tiptap/core' {
|
|
|
259
271
|
|
|
260
272
|
declare module '@tiptap/core' {
|
|
261
273
|
interface Commands<ReturnType> {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
declare module '@tiptap/core' {
|
|
270
|
-
interface Commands<ReturnType> {
|
|
271
|
-
setNodeAlign: {
|
|
272
|
-
setNodeAlign: (options: any) => ReturnType;
|
|
273
|
-
};
|
|
274
|
-
unsetNodeAlign: {
|
|
275
|
-
unsetNodeAlign: () => ReturnType;
|
|
274
|
+
setVideo: {
|
|
275
|
+
setVideo: (options: any) => ReturnType;
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -280,8 +280,8 @@ declare module '@tiptap/core' {
|
|
|
280
280
|
|
|
281
281
|
declare module '@tiptap/core' {
|
|
282
282
|
interface Commands<ReturnType> {
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
insertTag: {
|
|
284
|
+
insertTag: (options: any) => ReturnType;
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
287
|
}
|