@clepit/core 0.5.0-beta.379 → 0.5.0-beta.384

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.
@@ -13,10 +13,20 @@ export declare class Editor {
13
13
  */
14
14
  private static localizeData;
15
15
  private static render;
16
- /** Runs even after the container has left the DOM (a React host removes the
16
+ /** Releases the runtime a container holds and leaves its document in the
17
+ * store. `create` runs this first so a second create in the same container
18
+ * starts clean, and the document it must NOT touch is the one the store
19
+ * rehydrated before this page load: `addInstance` keeps a stored document
20
+ * in preference to `initialData`, which is what lets a reader's content
21
+ * survive a reload. Removing the store entry here deleted that document a
22
+ * moment before `addInstance` would have kept it, and only the landing's
23
+ * persistence spec caught it.
24
+ *
25
+ * Runs even after the container has left the DOM (a React host removes the
17
26
  * element before effect cleanup fires): every helper guards its own DOM
18
27
  * access, and the id-keyed state — theme registry, body theme attribute,
19
28
  * pending toolbar timers — must be released either way. */
29
+ private static teardown;
20
30
  static destroy(containerId: string): void;
21
31
  }
22
32
  //# sourceMappingURL=index.d.ts.map