@xplor-education/react-wrappers 5.0.0 → 5.2.0
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/CHANGELOG.md +13 -0
- package/dist/index.cjs +2286 -218
- package/dist/index.d.ts +34 -0
- package/dist/index.js +40889 -32956
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@xplor-education/react-wrappers` are documented here.
|
|
4
4
|
|
|
5
|
+
## [5.1.1] - 2026-07-02
|
|
6
|
+
|
|
7
|
+
### BREAKING
|
|
8
|
+
|
|
9
|
+
- **`XplorRichEditor`: `getHTML()` is renamed to `getHTMLContent()`.** The old name
|
|
10
|
+
collides with the native `Element.getHTML(): string` in recent TypeScript DOM lib
|
|
11
|
+
definitions, which makes `HTMLXplorRichEditorElement` fail the `HTMLElement`
|
|
12
|
+
constraint (TS2344) when type-checking this package. `getHTMLContent` matches the
|
|
13
|
+
name `XplorTiptapEditor` already uses. `getHTML` shipped in v5.1.0 only — released
|
|
14
|
+
hours before this fix — so if you call it, replace `ref.getHTML()` with
|
|
15
|
+
`ref.getHTMLContent()`. The `RichEditorApi` facade passed to extensions keeps
|
|
16
|
+
`getHTML()` (it is a plain interface and does not collide).
|
|
17
|
+
|
|
5
18
|
## [4.0.0] - 2026-05-29
|
|
6
19
|
|
|
7
20
|
### New Features
|