@underverse-ui/underverse 1.0.157 → 1.0.159
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/api-reference.json +1 -1
- package/dist/index.cjs +559 -212
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +563 -216
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3327,7 +3327,11 @@ interface UEditorProps {
|
|
|
3327
3327
|
onSave?: () => void;
|
|
3328
3328
|
onExport?: () => void;
|
|
3329
3329
|
onSourceCode?: () => void;
|
|
3330
|
-
|
|
3330
|
+
/**
|
|
3331
|
+
* Fires when View > Preview or the eye button is clicked.
|
|
3332
|
+
* Return false to prevent the built-in preview dialog.
|
|
3333
|
+
*/
|
|
3334
|
+
onPreview?: (html: string) => void | false;
|
|
3331
3335
|
}
|
|
3332
3336
|
type UEditorVariant = NonNullable<UEditorProps["variant"]>;
|
|
3333
3337
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3327,7 +3327,11 @@ interface UEditorProps {
|
|
|
3327
3327
|
onSave?: () => void;
|
|
3328
3328
|
onExport?: () => void;
|
|
3329
3329
|
onSourceCode?: () => void;
|
|
3330
|
-
|
|
3330
|
+
/**
|
|
3331
|
+
* Fires when View > Preview or the eye button is clicked.
|
|
3332
|
+
* Return false to prevent the built-in preview dialog.
|
|
3333
|
+
*/
|
|
3334
|
+
onPreview?: (html: string) => void | false;
|
|
3331
3335
|
}
|
|
3332
3336
|
type UEditorVariant = NonNullable<UEditorProps["variant"]>;
|
|
3333
3337
|
|