@underverse-ui/underverse 1.0.204 → 1.0.205
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/{EmojiPicker-UN6N7YVB.js → EmojiPicker-BAWP2RAS.js} +4 -4
- package/dist/{chunk-CC3QO2YM.js → chunk-2V6A6PGI.js} +147 -39
- package/dist/chunk-2V6A6PGI.js.map +1 -0
- package/dist/{chunk-QVQTWZ24.js → chunk-7U3Y7R7U.js} +3 -3
- package/dist/{chunk-ZUAIBY2Z.js → chunk-IXEFOLUD.js} +2 -2
- package/dist/{chunk-KFTYWTJR.js → chunk-MJV7ETJM.js} +22 -2
- package/dist/{chunk-KFTYWTJR.js.map → chunk-MJV7ETJM.js.map} +1 -1
- package/dist/{chunk-GSBRTFP2.js → chunk-XJR7E6QB.js} +16 -13
- package/dist/{chunk-GSBRTFP2.js.map → chunk-XJR7E6QB.js.map} +1 -1
- package/dist/{chunk-CKKLFVOY.js → chunk-Z63YNF3N.js} +3 -3
- package/dist/index.cjs +157 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/{menu-bar-6U5S4PS7.js → menu-bar-NDAP3SOR.js} +4 -4
- package/dist/ueditor.cjs +167 -39
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.d.cts +6 -0
- package/dist/ueditor.d.ts +6 -0
- package/dist/ueditor.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-CC3QO2YM.js.map +0 -1
- /package/dist/{EmojiPicker-UN6N7YVB.js.map → EmojiPicker-BAWP2RAS.js.map} +0 -0
- /package/dist/{chunk-QVQTWZ24.js.map → chunk-7U3Y7R7U.js.map} +0 -0
- /package/dist/{chunk-ZUAIBY2Z.js.map → chunk-IXEFOLUD.js.map} +0 -0
- /package/dist/{chunk-CKKLFVOY.js.map → chunk-Z63YNF3N.js.map} +0 -0
- /package/dist/{menu-bar-6U5S4PS7.js.map → menu-bar-NDAP3SOR.js.map} +0 -0
package/dist/ueditor.d.cts
CHANGED
|
@@ -59,6 +59,12 @@ interface UEditorProps {
|
|
|
59
59
|
onHtmlChange?: (html: string) => void;
|
|
60
60
|
/** Called with the current TipTap JSON document after editor updates. */
|
|
61
61
|
onJsonChange?: (json: object) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Debounces HTML/JSON output callbacks by the given number of milliseconds.
|
|
64
|
+
* Defaults to `0` for backward-compatible immediate updates. Values around
|
|
65
|
+
* `100-200` are recommended for large controlled documents.
|
|
66
|
+
*/
|
|
67
|
+
outputDebounceMs?: number;
|
|
62
68
|
/** Uploads images immediately when they are inserted in `imageInsertMode="upload"`. */
|
|
63
69
|
uploadImage?: (file: File) => Promise<string> | string;
|
|
64
70
|
/** Uploads embedded/base64 images during `prepareContentForSave`; use this for save-time normalization. */
|
package/dist/ueditor.d.ts
CHANGED
|
@@ -59,6 +59,12 @@ interface UEditorProps {
|
|
|
59
59
|
onHtmlChange?: (html: string) => void;
|
|
60
60
|
/** Called with the current TipTap JSON document after editor updates. */
|
|
61
61
|
onJsonChange?: (json: object) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Debounces HTML/JSON output callbacks by the given number of milliseconds.
|
|
64
|
+
* Defaults to `0` for backward-compatible immediate updates. Values around
|
|
65
|
+
* `100-200` are recommended for large controlled documents.
|
|
66
|
+
*/
|
|
67
|
+
outputDebounceMs?: number;
|
|
62
68
|
/** Uploads images immediately when they are inserted in `imageInsertMode="upload"`. */
|
|
63
69
|
uploadImage?: (file: File) => Promise<string> | string;
|
|
64
70
|
/** Uploads embedded/base64 images during `prepareContentForSave`; use this for save-time normalization. */
|
package/dist/ueditor.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
extractImageSrcsFromHtml,
|
|
6
6
|
normalizeImageUrl,
|
|
7
7
|
prepareUEditorContentForSave
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-2V6A6PGI.js";
|
|
9
|
+
import "./chunk-IXEFOLUD.js";
|
|
10
|
+
import "./chunk-MJV7ETJM.js";
|
|
11
|
+
import "./chunk-XJR7E6QB.js";
|
|
12
12
|
import "./chunk-NSBPE2FW.js";
|
|
13
13
|
export {
|
|
14
14
|
UEditorPrepareContentForSaveError,
|