@select-org/select-post-builder 1.1.38 → 1.1.39
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 +831 -780
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -281,6 +281,17 @@ declare type WithoutModalProps = BaseProps & {
|
|
|
281
281
|
export { }
|
|
282
282
|
|
|
283
283
|
|
|
284
|
+
declare module '@tiptap/core' {
|
|
285
|
+
interface Commands<ReturnType> {
|
|
286
|
+
poll: {
|
|
287
|
+
insertPoll: (attrs: {
|
|
288
|
+
choices: PollChoiceItem[];
|
|
289
|
+
}) => ReturnType;
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
|
|
284
295
|
declare module '@tiptap/core' {
|
|
285
296
|
interface Commands<ReturnType> {
|
|
286
297
|
media: {
|
|
@@ -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: {
|