@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.
@@ -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-CC3QO2YM.js";
9
- import "./chunk-ZUAIBY2Z.js";
10
- import "./chunk-KFTYWTJR.js";
11
- import "./chunk-GSBRTFP2.js";
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@underverse-ui/underverse",
3
- "version": "1.0.204",
3
+ "version": "1.0.205",
4
4
  "private": false,
5
5
  "description": "Underverse UI – reusable React/Next.js UI components",
6
6
  "type": "module",