@select-org/select-post-builder 1.1.38 → 1.1.40
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/index.d.ts +15 -11
- package/dist/post-builder.cjs.js +13 -13
- package/dist/post-builder.js +862 -811
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -309,6 +309,17 @@ declare module '@tiptap/core' {
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
|
|
312
|
+
declare module '@tiptap/core' {
|
|
313
|
+
interface Commands<ReturnType> {
|
|
314
|
+
poll: {
|
|
315
|
+
insertPoll: (attrs: {
|
|
316
|
+
choices: PollChoiceItem[];
|
|
317
|
+
}) => ReturnType;
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
|
|
312
323
|
declare module '@tiptap/core' {
|
|
313
324
|
interface Commands<ReturnType> {
|
|
314
325
|
customLink: {
|
|
@@ -328,6 +339,10 @@ declare module '@tiptap/core' {
|
|
|
328
339
|
* Delete link preview node by uid
|
|
329
340
|
*/
|
|
330
341
|
deleteLinkByUid: (uid: string) => ReturnType;
|
|
342
|
+
/**
|
|
343
|
+
* Re-run unfurl resolution for existing links after content rehydration.
|
|
344
|
+
*/
|
|
345
|
+
rehydrateLinkPreviews: () => ReturnType;
|
|
331
346
|
};
|
|
332
347
|
}
|
|
333
348
|
}
|
|
@@ -349,17 +364,6 @@ declare module '@tiptap/core' {
|
|
|
349
364
|
}
|
|
350
365
|
|
|
351
366
|
|
|
352
|
-
declare module '@tiptap/core' {
|
|
353
|
-
interface Commands<ReturnType> {
|
|
354
|
-
poll: {
|
|
355
|
-
insertPoll: (attrs: {
|
|
356
|
-
choices: PollChoiceItem[];
|
|
357
|
-
}) => ReturnType;
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
|
|
363
367
|
declare module '@tiptap/core' {
|
|
364
368
|
interface Commands<ReturnType> {
|
|
365
369
|
smartMediaUpload: {
|