sykpcomposer 1.20.24 → 1.20.26

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.
@@ -14,11 +14,12 @@ export declare function InsertImageDialog({ activeEditor, onClose, enableCaption
14
14
  onClose: () => void;
15
15
  enableCaptions: boolean;
16
16
  }): JSX.Element;
17
- export declare function handlePaste(event: ClipboardEvent, editor: LexicalEditor, caption: string, enableCaptions: boolean): boolean;
18
- export default function ImagesPlugin({ enableCaptions, }: {
17
+ export declare function handlePaste(event: ClipboardEvent, editor: LexicalEditor, caption: string, enableCaptions: boolean, wpAndTaskId?: string): boolean;
18
+ export default function ImagesPlugin({ enableCaptions, wpAndTaskId }: {
19
19
  enableCaptions?: boolean;
20
+ wpAndTaskId: string;
20
21
  }): JSX.Element | null;
21
- export declare function generateStableImageCaptionId(text: string | number, index: number): string;
22
+ export declare function generateStableImageCaptionId(text: string | number, index: number, wpAndTaskId: string): string;
22
23
  declare global {
23
24
  interface DragEvent {
24
25
  rangeOffset?: number;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "sykpcomposer",
3
3
  "description": "code for captions",
4
4
  "private": false,
5
- "version": "1.20.24",
5
+ "version": "1.20.26",
6
6
  "type": "module",
7
7
  "main": "dist/index.umd.js",
8
8
  "module": "dist/index.es.js",