@forevka/wordcanvas 0.2.0 → 0.3.1
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/README.md +4 -2
- package/dist-lib/assets/{engine-DZ0JqUhP.js → engine-BVd9_fny.js} +1126 -1125
- package/dist-lib/assets/{worker-DL4Rxrg-.js → worker-C35TK5Ee.js} +1 -1
- package/dist-lib/builder.js +1 -1
- package/dist-lib/{editorApp-Dl_Glngl.js → editorApp-DYckquXo.js} +5464 -5158
- package/dist-lib/{types-C2taeCu4.js → types-5-egHV_r.js} +5 -5
- package/dist-lib/wordcanvas.js +65 -2
- package/package.json +7 -16
- package/dist-lib/wordcanvas-CgZ_uuf9.js +0 -373
package/README.md
CHANGED
|
@@ -106,8 +106,10 @@ input.addEventListener("change", async () => {
|
|
|
106
106
|
|
|
107
107
|
## Notes & limitations
|
|
108
108
|
|
|
109
|
-
- **
|
|
110
|
-
|
|
109
|
+
- **Multiple instances per page are supported** — the chrome is class-scoped under
|
|
110
|
+
a per-instance root and each instance mounts independently, so you can run several
|
|
111
|
+
editors at once. `destroy()` removes an instance's chrome and its floating panels.
|
|
112
|
+
See the [`embed-multi`](../examples/embed-multi) example.
|
|
111
113
|
- The editor injects its own stylesheet and mounts its full chrome (ribbon, ruler,
|
|
112
114
|
outline, status bar) inside the container; give it a sized element.
|
|
113
115
|
- The bundle is large on disk (~20 MB unminified, code-split) because it ships a
|