reactjs-tiptap-editor-pro 0.2.26 → 0.2.27
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/lib/RichTextEditor-B1Y3PPzy.js +8826 -0
- package/lib/RichTextEditor-CVJUZJ-8.cjs +141 -0
- package/lib/extension-bundle.cjs +3 -3
- package/lib/extension-bundle.d.cts +75 -75
- package/lib/extension-bundle.d.ts +75 -75
- package/lib/extension-bundle.js +1225 -1225
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +75 -75
- package/lib/index.d.ts +75 -75
- package/lib/index.js +1 -1
- package/lib/locale-bundle.d.cts +75 -75
- package/lib/locale-bundle.d.ts +75 -75
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/lib/RichTextEditor-DlFgd8H2.cjs +0 -141
- package/lib/RichTextEditor-iBDjgtlT.js +0 -8780
package/lib/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react"),d=require("./RichTextEditor-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react"),d=require("./RichTextEditor-CVJUZJ-8.cjs"),c=require("./tiptap-gBG-1T-V.cjs");function a(){var r;const e=t.useRef({editor:null}),[i,o]=t.useState(!1),[s,n]=t.useState(null);return t.useEffect(()=>{var u;(u=e.current)!=null&&u.editor&&(o(!0),n(e.current.editor))},[e,(r=e.current)==null?void 0:r.editor]),{isReady:i,editor:s,editorRef:e}}exports.default=d.RichTextEditor;exports.BubbleMenu=c.BubbleMenu;exports.useEditorState=a;
|
package/lib/index.d.cts
CHANGED
|
@@ -291,9 +291,9 @@ declare module '@tiptap/core' {
|
|
|
291
291
|
|
|
292
292
|
declare module '@tiptap/core' {
|
|
293
293
|
interface Commands<ReturnType> {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
294
|
+
lineHeight: {
|
|
295
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
296
|
+
unsetLineHeight: () => ReturnType;
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
299
|
}
|
|
@@ -301,15 +301,8 @@ declare module '@tiptap/core' {
|
|
|
301
301
|
|
|
302
302
|
declare module '@tiptap/core' {
|
|
303
303
|
interface Commands<ReturnType> {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
* Set the indent attribute
|
|
307
|
-
*/
|
|
308
|
-
indent: () => ReturnType;
|
|
309
|
-
/**
|
|
310
|
-
* Set the outdent attribute
|
|
311
|
-
*/
|
|
312
|
-
outdent: () => ReturnType;
|
|
304
|
+
katex: {
|
|
305
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
313
306
|
};
|
|
314
307
|
}
|
|
315
308
|
}
|
|
@@ -317,19 +310,14 @@ declare module '@tiptap/core' {
|
|
|
317
310
|
|
|
318
311
|
declare module '@tiptap/core' {
|
|
319
312
|
interface Commands<ReturnType> {
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* Add an image
|
|
323
|
-
*/
|
|
324
|
-
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
325
|
-
/**
|
|
326
|
-
* Update an image
|
|
327
|
-
*/
|
|
328
|
-
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
313
|
+
iframe: {
|
|
329
314
|
/**
|
|
330
|
-
*
|
|
315
|
+
* Add an iframe
|
|
331
316
|
*/
|
|
332
|
-
|
|
317
|
+
setIframe: (options: {
|
|
318
|
+
src: string;
|
|
319
|
+
service: string;
|
|
320
|
+
}) => ReturnType;
|
|
333
321
|
};
|
|
334
322
|
}
|
|
335
323
|
}
|
|
@@ -337,9 +325,11 @@ declare module '@tiptap/core' {
|
|
|
337
325
|
|
|
338
326
|
declare module '@tiptap/core' {
|
|
339
327
|
interface Commands<ReturnType> {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
328
|
+
emoji: {
|
|
329
|
+
setEmoji: (emoji: {
|
|
330
|
+
name: string;
|
|
331
|
+
emoji: string;
|
|
332
|
+
}) => ReturnType;
|
|
343
333
|
};
|
|
344
334
|
}
|
|
345
335
|
}
|
|
@@ -347,14 +337,8 @@ declare module '@tiptap/core' {
|
|
|
347
337
|
|
|
348
338
|
declare module '@tiptap/core' {
|
|
349
339
|
interface Commands<ReturnType> {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
353
|
-
replace: () => ReturnType;
|
|
354
|
-
replaceAll: () => ReturnType;
|
|
355
|
-
goToPrevSearchResult: () => void;
|
|
356
|
-
goToNextSearchResult: () => void;
|
|
357
|
-
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
340
|
+
painter: {
|
|
341
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
358
342
|
};
|
|
359
343
|
}
|
|
360
344
|
}
|
|
@@ -362,9 +346,8 @@ declare module '@tiptap/core' {
|
|
|
362
346
|
|
|
363
347
|
declare module '@tiptap/core' {
|
|
364
348
|
interface Commands<ReturnType> {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
removeTableOfContents: () => ReturnType;
|
|
349
|
+
exportWord: {
|
|
350
|
+
exportToWord: () => ReturnType;
|
|
368
351
|
};
|
|
369
352
|
}
|
|
370
353
|
}
|
|
@@ -372,14 +355,19 @@ declare module '@tiptap/core' {
|
|
|
372
355
|
|
|
373
356
|
declare module '@tiptap/core' {
|
|
374
357
|
interface Commands<ReturnType> {
|
|
375
|
-
|
|
358
|
+
imageUpload: {
|
|
376
359
|
/**
|
|
377
|
-
* Add an
|
|
360
|
+
* Add an image
|
|
378
361
|
*/
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
362
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
363
|
+
/**
|
|
364
|
+
* Update an image
|
|
365
|
+
*/
|
|
366
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
367
|
+
/**
|
|
368
|
+
* Set image alignment
|
|
369
|
+
*/
|
|
370
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
383
371
|
};
|
|
384
372
|
}
|
|
385
373
|
}
|
|
@@ -387,13 +375,14 @@ declare module '@tiptap/core' {
|
|
|
387
375
|
|
|
388
376
|
declare module '@tiptap/core' {
|
|
389
377
|
interface Commands<ReturnType> {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
378
|
+
search: {
|
|
379
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
380
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
381
|
+
replace: () => ReturnType;
|
|
382
|
+
replaceAll: () => ReturnType;
|
|
383
|
+
goToPrevSearchResult: () => void;
|
|
384
|
+
goToNextSearchResult: () => void;
|
|
385
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
397
386
|
};
|
|
398
387
|
}
|
|
399
388
|
}
|
|
@@ -401,8 +390,9 @@ declare module '@tiptap/core' {
|
|
|
401
390
|
|
|
402
391
|
declare module '@tiptap/core' {
|
|
403
392
|
interface Commands<ReturnType> {
|
|
404
|
-
|
|
405
|
-
|
|
393
|
+
tableCellBackground: {
|
|
394
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
395
|
+
unsetTableCellBackground: () => ReturnType;
|
|
406
396
|
};
|
|
407
397
|
}
|
|
408
398
|
}
|
|
@@ -410,8 +400,15 @@ declare module '@tiptap/core' {
|
|
|
410
400
|
|
|
411
401
|
declare module '@tiptap/core' {
|
|
412
402
|
interface Commands<ReturnType> {
|
|
413
|
-
|
|
414
|
-
|
|
403
|
+
indent: {
|
|
404
|
+
/**
|
|
405
|
+
* Set the indent attribute
|
|
406
|
+
*/
|
|
407
|
+
indent: () => ReturnType;
|
|
408
|
+
/**
|
|
409
|
+
* Set the outdent attribute
|
|
410
|
+
*/
|
|
411
|
+
outdent: () => ReturnType;
|
|
415
412
|
};
|
|
416
413
|
}
|
|
417
414
|
}
|
|
@@ -419,11 +416,13 @@ declare module '@tiptap/core' {
|
|
|
419
416
|
|
|
420
417
|
declare module '@tiptap/core' {
|
|
421
418
|
interface Commands<ReturnType> {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
emoji: string;
|
|
419
|
+
columns: {
|
|
420
|
+
insertColumns: (attrs?: {
|
|
421
|
+
cols: number;
|
|
426
422
|
}) => ReturnType;
|
|
423
|
+
addColBefore: () => ReturnType;
|
|
424
|
+
addColAfter: () => ReturnType;
|
|
425
|
+
deleteCol: () => ReturnType;
|
|
427
426
|
};
|
|
428
427
|
}
|
|
429
428
|
}
|
|
@@ -440,8 +439,9 @@ declare module '@tiptap/core' {
|
|
|
440
439
|
|
|
441
440
|
declare module '@tiptap/core' {
|
|
442
441
|
interface Commands<ReturnType> {
|
|
443
|
-
|
|
444
|
-
|
|
442
|
+
tableOfContents: {
|
|
443
|
+
setTableOfContents: () => ReturnType;
|
|
444
|
+
removeTableOfContents: () => ReturnType;
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
447
|
}
|
|
@@ -449,8 +449,19 @@ declare module '@tiptap/core' {
|
|
|
449
449
|
|
|
450
450
|
declare module '@tiptap/core' {
|
|
451
451
|
interface Commands<ReturnType> {
|
|
452
|
-
|
|
453
|
-
|
|
452
|
+
imageGifUpload: {
|
|
453
|
+
/**
|
|
454
|
+
* Add an image gif
|
|
455
|
+
*/
|
|
456
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
457
|
+
/**
|
|
458
|
+
* Update an image gif
|
|
459
|
+
*/
|
|
460
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
461
|
+
/**
|
|
462
|
+
* Set image alignment
|
|
463
|
+
*/
|
|
464
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
454
465
|
};
|
|
455
466
|
}
|
|
456
467
|
}
|
|
@@ -493,19 +504,8 @@ declare module '@tiptap/core' {
|
|
|
493
504
|
|
|
494
505
|
declare module '@tiptap/core' {
|
|
495
506
|
interface Commands<ReturnType> {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
* Add an image gif
|
|
499
|
-
*/
|
|
500
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
501
|
-
/**
|
|
502
|
-
* Update an image gif
|
|
503
|
-
*/
|
|
504
|
-
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
505
|
-
/**
|
|
506
|
-
* Set image alignment
|
|
507
|
-
*/
|
|
508
|
-
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
507
|
+
attachment: {
|
|
508
|
+
setAttachment: (attrs?: unknown) => ReturnType;
|
|
509
509
|
};
|
|
510
510
|
}
|
|
511
511
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -291,9 +291,9 @@ declare module '@tiptap/core' {
|
|
|
291
291
|
|
|
292
292
|
declare module '@tiptap/core' {
|
|
293
293
|
interface Commands<ReturnType> {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
294
|
+
lineHeight: {
|
|
295
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
296
|
+
unsetLineHeight: () => ReturnType;
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
299
|
}
|
|
@@ -301,15 +301,8 @@ declare module '@tiptap/core' {
|
|
|
301
301
|
|
|
302
302
|
declare module '@tiptap/core' {
|
|
303
303
|
interface Commands<ReturnType> {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
* Set the indent attribute
|
|
307
|
-
*/
|
|
308
|
-
indent: () => ReturnType;
|
|
309
|
-
/**
|
|
310
|
-
* Set the outdent attribute
|
|
311
|
-
*/
|
|
312
|
-
outdent: () => ReturnType;
|
|
304
|
+
katex: {
|
|
305
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
313
306
|
};
|
|
314
307
|
}
|
|
315
308
|
}
|
|
@@ -317,19 +310,14 @@ declare module '@tiptap/core' {
|
|
|
317
310
|
|
|
318
311
|
declare module '@tiptap/core' {
|
|
319
312
|
interface Commands<ReturnType> {
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* Add an image
|
|
323
|
-
*/
|
|
324
|
-
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
325
|
-
/**
|
|
326
|
-
* Update an image
|
|
327
|
-
*/
|
|
328
|
-
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
313
|
+
iframe: {
|
|
329
314
|
/**
|
|
330
|
-
*
|
|
315
|
+
* Add an iframe
|
|
331
316
|
*/
|
|
332
|
-
|
|
317
|
+
setIframe: (options: {
|
|
318
|
+
src: string;
|
|
319
|
+
service: string;
|
|
320
|
+
}) => ReturnType;
|
|
333
321
|
};
|
|
334
322
|
}
|
|
335
323
|
}
|
|
@@ -337,9 +325,11 @@ declare module '@tiptap/core' {
|
|
|
337
325
|
|
|
338
326
|
declare module '@tiptap/core' {
|
|
339
327
|
interface Commands<ReturnType> {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
328
|
+
emoji: {
|
|
329
|
+
setEmoji: (emoji: {
|
|
330
|
+
name: string;
|
|
331
|
+
emoji: string;
|
|
332
|
+
}) => ReturnType;
|
|
343
333
|
};
|
|
344
334
|
}
|
|
345
335
|
}
|
|
@@ -347,14 +337,8 @@ declare module '@tiptap/core' {
|
|
|
347
337
|
|
|
348
338
|
declare module '@tiptap/core' {
|
|
349
339
|
interface Commands<ReturnType> {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
353
|
-
replace: () => ReturnType;
|
|
354
|
-
replaceAll: () => ReturnType;
|
|
355
|
-
goToPrevSearchResult: () => void;
|
|
356
|
-
goToNextSearchResult: () => void;
|
|
357
|
-
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
340
|
+
painter: {
|
|
341
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
358
342
|
};
|
|
359
343
|
}
|
|
360
344
|
}
|
|
@@ -362,9 +346,8 @@ declare module '@tiptap/core' {
|
|
|
362
346
|
|
|
363
347
|
declare module '@tiptap/core' {
|
|
364
348
|
interface Commands<ReturnType> {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
removeTableOfContents: () => ReturnType;
|
|
349
|
+
exportWord: {
|
|
350
|
+
exportToWord: () => ReturnType;
|
|
368
351
|
};
|
|
369
352
|
}
|
|
370
353
|
}
|
|
@@ -372,14 +355,19 @@ declare module '@tiptap/core' {
|
|
|
372
355
|
|
|
373
356
|
declare module '@tiptap/core' {
|
|
374
357
|
interface Commands<ReturnType> {
|
|
375
|
-
|
|
358
|
+
imageUpload: {
|
|
376
359
|
/**
|
|
377
|
-
* Add an
|
|
360
|
+
* Add an image
|
|
378
361
|
*/
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
362
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
363
|
+
/**
|
|
364
|
+
* Update an image
|
|
365
|
+
*/
|
|
366
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
367
|
+
/**
|
|
368
|
+
* Set image alignment
|
|
369
|
+
*/
|
|
370
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
383
371
|
};
|
|
384
372
|
}
|
|
385
373
|
}
|
|
@@ -387,13 +375,14 @@ declare module '@tiptap/core' {
|
|
|
387
375
|
|
|
388
376
|
declare module '@tiptap/core' {
|
|
389
377
|
interface Commands<ReturnType> {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
378
|
+
search: {
|
|
379
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
380
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
381
|
+
replace: () => ReturnType;
|
|
382
|
+
replaceAll: () => ReturnType;
|
|
383
|
+
goToPrevSearchResult: () => void;
|
|
384
|
+
goToNextSearchResult: () => void;
|
|
385
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
397
386
|
};
|
|
398
387
|
}
|
|
399
388
|
}
|
|
@@ -401,8 +390,9 @@ declare module '@tiptap/core' {
|
|
|
401
390
|
|
|
402
391
|
declare module '@tiptap/core' {
|
|
403
392
|
interface Commands<ReturnType> {
|
|
404
|
-
|
|
405
|
-
|
|
393
|
+
tableCellBackground: {
|
|
394
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
395
|
+
unsetTableCellBackground: () => ReturnType;
|
|
406
396
|
};
|
|
407
397
|
}
|
|
408
398
|
}
|
|
@@ -410,8 +400,15 @@ declare module '@tiptap/core' {
|
|
|
410
400
|
|
|
411
401
|
declare module '@tiptap/core' {
|
|
412
402
|
interface Commands<ReturnType> {
|
|
413
|
-
|
|
414
|
-
|
|
403
|
+
indent: {
|
|
404
|
+
/**
|
|
405
|
+
* Set the indent attribute
|
|
406
|
+
*/
|
|
407
|
+
indent: () => ReturnType;
|
|
408
|
+
/**
|
|
409
|
+
* Set the outdent attribute
|
|
410
|
+
*/
|
|
411
|
+
outdent: () => ReturnType;
|
|
415
412
|
};
|
|
416
413
|
}
|
|
417
414
|
}
|
|
@@ -419,11 +416,13 @@ declare module '@tiptap/core' {
|
|
|
419
416
|
|
|
420
417
|
declare module '@tiptap/core' {
|
|
421
418
|
interface Commands<ReturnType> {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
emoji: string;
|
|
419
|
+
columns: {
|
|
420
|
+
insertColumns: (attrs?: {
|
|
421
|
+
cols: number;
|
|
426
422
|
}) => ReturnType;
|
|
423
|
+
addColBefore: () => ReturnType;
|
|
424
|
+
addColAfter: () => ReturnType;
|
|
425
|
+
deleteCol: () => ReturnType;
|
|
427
426
|
};
|
|
428
427
|
}
|
|
429
428
|
}
|
|
@@ -440,8 +439,9 @@ declare module '@tiptap/core' {
|
|
|
440
439
|
|
|
441
440
|
declare module '@tiptap/core' {
|
|
442
441
|
interface Commands<ReturnType> {
|
|
443
|
-
|
|
444
|
-
|
|
442
|
+
tableOfContents: {
|
|
443
|
+
setTableOfContents: () => ReturnType;
|
|
444
|
+
removeTableOfContents: () => ReturnType;
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
447
|
}
|
|
@@ -449,8 +449,19 @@ declare module '@tiptap/core' {
|
|
|
449
449
|
|
|
450
450
|
declare module '@tiptap/core' {
|
|
451
451
|
interface Commands<ReturnType> {
|
|
452
|
-
|
|
453
|
-
|
|
452
|
+
imageGifUpload: {
|
|
453
|
+
/**
|
|
454
|
+
* Add an image gif
|
|
455
|
+
*/
|
|
456
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
457
|
+
/**
|
|
458
|
+
* Update an image gif
|
|
459
|
+
*/
|
|
460
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
461
|
+
/**
|
|
462
|
+
* Set image alignment
|
|
463
|
+
*/
|
|
464
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
454
465
|
};
|
|
455
466
|
}
|
|
456
467
|
}
|
|
@@ -493,19 +504,8 @@ declare module '@tiptap/core' {
|
|
|
493
504
|
|
|
494
505
|
declare module '@tiptap/core' {
|
|
495
506
|
interface Commands<ReturnType> {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
* Add an image gif
|
|
499
|
-
*/
|
|
500
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
501
|
-
/**
|
|
502
|
-
* Update an image gif
|
|
503
|
-
*/
|
|
504
|
-
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
505
|
-
/**
|
|
506
|
-
* Set image alignment
|
|
507
|
-
*/
|
|
508
|
-
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
507
|
+
attachment: {
|
|
508
|
+
setAttachment: (attrs?: unknown) => ReturnType;
|
|
509
509
|
};
|
|
510
510
|
}
|
|
511
511
|
}
|
package/lib/index.js
CHANGED