@xplor-education/react-wrappers 5.0.1 → 5.3.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 CHANGED
@@ -2,6 +2,30 @@
2
2
 
3
3
  All notable changes to `@xplor-education/react-wrappers` are documented here.
4
4
 
5
+ ## [5.3.0] - 2026-07-17
6
+
7
+ ### New Features
8
+
9
+ - **`XplorTiptapEditor`: entity chips and inline images.** Two new opt-in props
10
+ (both default `false`):
11
+ - `allowEntityChips` — enables non-editable entity-chip "pill" nodes that
12
+ round-trip through `getHTMLContent()`/`setContent()`.
13
+ - `allowImages` — enables inline images, rendered size-constrained within the
14
+ editor content area.
15
+
16
+ ## [5.1.1] - 2026-07-02
17
+
18
+ ### BREAKING
19
+
20
+ - **`XplorRichEditor`: `getHTML()` is renamed to `getHTMLContent()`.** The old name
21
+ collides with the native `Element.getHTML(): string` in recent TypeScript DOM lib
22
+ definitions, which makes `HTMLXplorRichEditorElement` fail the `HTMLElement`
23
+ constraint (TS2344) when type-checking this package. `getHTMLContent` matches the
24
+ name `XplorTiptapEditor` already uses. `getHTML` shipped in v5.1.0 only — released
25
+ hours before this fix — so if you call it, replace `ref.getHTML()` with
26
+ `ref.getHTMLContent()`. The `RichEditorApi` facade passed to extensions keeps
27
+ `getHTML()` (it is a plain interface and does not collide).
28
+
5
29
  ## [4.0.0] - 2026-05-29
6
30
 
7
31
  ### New Features