@editorcn/editor 0.5.2 → 0.6.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
@@ -1,5 +1,22 @@
1
1
  # @editorcn/editor
2
2
 
3
+ ## 0.6.0
4
+
5
+ ### Changes
6
+
7
+ - The source follows the extensions layout: `core/`, `icons/`, `ui/` and a folder per feature. Components in `ui/` have plain names (`Button`, `Dropdown`, `DropdownItem`, `DropdownSeparator`, `Separator`, `Overlay`) instead of `Rte*` / `Bubble*`.
8
+ - The Base UI primitives moved from `ui/` to `primitives/base/` and their Radix twins to `primitives/radix/`. Registry installs get them at `editor/primitives/<name>.tsx`.
9
+ - `rte-text-editor.tsx` is now `rich-text-editor.tsx`, and the other `rte-*.tsx` files lost their prefix.
10
+ - No change to exports, styles or behavior for npm users. Registry users get new file paths; see the [changelog entry](https://www.rtecn.space/docs/changelog/2026-11-28-ui-structure).
11
+
12
+ ## 0.5.3
13
+
14
+ ### Fixes
15
+
16
+ - When the toolbar wraps onto more than one row, the first group on each new row no longer starts with a stray separator. The toolbar marks those groups with `data-line-start` and updates them when its width changes.
17
+ - `RichTextEditor.Control` has a display name, so `react/display-name` no longer flags it.
18
+ - The Twitter embed's lint suppression uses an `oxlint-disable` comment, so ESLint no longer reports `Definition for rule 'promise/avoid-new' was not found` in projects that install the editor through the registry.
19
+
3
20
  ## 0.5.1
4
21
 
5
22
  ### Fixes