ct-rich-text-editor 1.3.6 → 1.3.8
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/api/featureSuggestion.d.ts +21 -0
- package/dist/assets/style.css +294 -91
- package/dist/components/FeatureSuggestionDialog/index.d.ts +6 -0
- package/dist/components/ImageComparisonDialog/index.d.ts +11 -0
- package/dist/components/ImageGenerationDialog/ImageGenerationManager.d.ts +2 -1
- package/dist/components/ImageGenerationDialog/index.d.ts +2 -1
- package/dist/components/ImageView/index.d.ts +2 -1
- package/dist/editorConfig.d.ts +1 -1
- package/dist/{html2pdf.bundle-9236a762.js → html2pdf.bundle-6d32d085.js} +2 -2
- package/dist/{html2pdf.bundle-9236a762.js.map → html2pdf.bundle-6d32d085.js.map} +1 -1
- package/dist/{html2pdf.bundle.min-5e51c303.js → html2pdf.bundle.min-b3120e0c.js} +2 -2
- package/dist/{html2pdf.bundle.min-5e51c303.js.map → html2pdf.bundle.min-b3120e0c.js.map} +1 -1
- package/dist/{index-dbc626d0.js → index-158a9bd4.js} +2513 -1190
- package/dist/index-158a9bd4.js.map +1 -0
- package/dist/{index-4a68b444.js → index-42136c92.js} +255 -8
- package/dist/index-42136c92.js.map +1 -0
- package/dist/{index-984a0184.js → index-9548fdb4.js} +3 -3
- package/dist/{index-984a0184.js.map → index-9548fdb4.js.map} +1 -1
- package/dist/index.js +6 -6
- package/dist/nodes/ImageNode.d.ts +8 -2
- package/dist/plugins/LinkPreviewPlugin/index.d.ts +2 -0
- package/dist/plugins/TableActionMenuPlugin/index.d.ts +2 -2
- package/dist/plugins/TableHoverActionsPlugin/index.d.ts +2 -11
- package/dist/plugins/TableHoverActionsPlugin/index_old_backup.d.ts +17 -0
- package/dist/plugins/TablePlugin.d.ts +1 -1
- package/package.json +2 -1
- package/dist/index-4a68b444.js.map +0 -1
- package/dist/index-dbc626d0.js.map +0 -1
|
@@ -2,7 +2,8 @@ import { default as React } from 'react';
|
|
|
2
2
|
interface ImageGenerationDialogProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
onOpenChange: (open: boolean) => void;
|
|
5
|
-
onGenerate: (prompt: string) => Promise<
|
|
5
|
+
onGenerate: (prompt: string) => Promise<string>;
|
|
6
|
+
onInsertImage: (imageUrl: string, prompt: string) => void;
|
|
6
7
|
isGenerating: boolean;
|
|
7
8
|
initialText?: string;
|
|
8
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LexicalCommand, LexicalEditor, NodeKey } from '../../../node_modules/lexical';
|
|
2
2
|
export declare const RIGHT_CLICK_IMAGE_COMMAND: LexicalCommand<MouseEvent>;
|
|
3
|
-
export default function ImageComponent({ src, altText, nodeKey, width, height, maxWidth, resizable, showCaption, caption, captionsEnabled, }: {
|
|
3
|
+
export default function ImageComponent({ src, altText, nodeKey, width, height, maxWidth, resizable, showCaption, caption, captionsEnabled, originalPrompt, }: {
|
|
4
4
|
altText: string;
|
|
5
5
|
caption: LexicalEditor;
|
|
6
6
|
height: "inherit" | number;
|
|
@@ -11,4 +11,5 @@ export default function ImageComponent({ src, altText, nodeKey, width, height, m
|
|
|
11
11
|
src: string;
|
|
12
12
|
width: "inherit" | number;
|
|
13
13
|
captionsEnabled: boolean;
|
|
14
|
+
originalPrompt?: string;
|
|
14
15
|
}): JSX.Element;
|
package/dist/editorConfig.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-
|
|
7
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-158a9bd4.js";
|
|
8
8
|
function _mergeNamespaces(n, m) {
|
|
9
9
|
for (var i = 0; i < m.length; i++) {
|
|
10
10
|
const e = m[i];
|
|
@@ -46125,4 +46125,4 @@ const html2pdf_bundle$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
|
46125
46125
|
export {
|
|
46126
46126
|
html2pdf_bundle$1 as h
|
|
46127
46127
|
};
|
|
46128
|
-
//# sourceMappingURL=html2pdf.bundle-
|
|
46128
|
+
//# sourceMappingURL=html2pdf.bundle-6d32d085.js.map
|