@select-org/select-post-builder 1.1.45 → 1.1.46
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 +28 -28
- package/dist/post-builder.cjs.js +11 -11
- package/dist/post-builder.js +67 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -344,34 +344,6 @@ declare module '@tiptap/core' {
|
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
|
|
347
|
-
declare module '@tiptap/core' {
|
|
348
|
-
interface Commands<ReturnType> {
|
|
349
|
-
customLink: {
|
|
350
|
-
/**
|
|
351
|
-
* Insert a new link mark with preview
|
|
352
|
-
*/
|
|
353
|
-
insertLink: (attrs: LinkMarkAttrs) => ReturnType;
|
|
354
|
-
/**
|
|
355
|
-
* Update an existing link mark with its preview
|
|
356
|
-
*/
|
|
357
|
-
updateLink: (uid: string, attrs: Partial<Omit<LinkMarkAttrs, 'uid'>>) => ReturnType;
|
|
358
|
-
/**
|
|
359
|
-
* Update media node attributes by uid
|
|
360
|
-
*/
|
|
361
|
-
updateLinkByUid: (uid: string, attrs: Partial<LinkMarkAttrs>) => ReturnType;
|
|
362
|
-
/**
|
|
363
|
-
* Delete link preview node by uid
|
|
364
|
-
*/
|
|
365
|
-
deleteLinkByUid: (uid: string) => ReturnType;
|
|
366
|
-
/**
|
|
367
|
-
* Re-run unfurl resolution for existing links after content rehydration.
|
|
368
|
-
*/
|
|
369
|
-
rehydrateLinkPreviews: () => ReturnType;
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
|
|
375
347
|
declare module '@tiptap/core' {
|
|
376
348
|
interface Commands<ReturnType> {
|
|
377
349
|
iframe: {
|
|
@@ -403,6 +375,34 @@ declare module '@tiptap/core' {
|
|
|
403
375
|
}
|
|
404
376
|
|
|
405
377
|
|
|
378
|
+
declare module '@tiptap/core' {
|
|
379
|
+
interface Commands<ReturnType> {
|
|
380
|
+
customLink: {
|
|
381
|
+
/**
|
|
382
|
+
* Insert a new link mark with preview
|
|
383
|
+
*/
|
|
384
|
+
insertLink: (attrs: LinkMarkAttrs) => ReturnType;
|
|
385
|
+
/**
|
|
386
|
+
* Update an existing link mark with its preview
|
|
387
|
+
*/
|
|
388
|
+
updateLink: (uid: string, attrs: Partial<Omit<LinkMarkAttrs, 'uid'>>) => ReturnType;
|
|
389
|
+
/**
|
|
390
|
+
* Update media node attributes by uid
|
|
391
|
+
*/
|
|
392
|
+
updateLinkByUid: (uid: string, attrs: Partial<LinkMarkAttrs>) => ReturnType;
|
|
393
|
+
/**
|
|
394
|
+
* Delete link preview node by uid
|
|
395
|
+
*/
|
|
396
|
+
deleteLinkByUid: (uid: string) => ReturnType;
|
|
397
|
+
/**
|
|
398
|
+
* Re-run unfurl resolution for existing links after content rehydration.
|
|
399
|
+
*/
|
|
400
|
+
rehydrateLinkPreviews: () => ReturnType;
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
|
|
406
406
|
declare module '@tiptap/core' {
|
|
407
407
|
interface Commands<ReturnType> {
|
|
408
408
|
linkPreview: {
|