smeditor 0.3.0 → 0.3.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37d69366d661f31b412b1225d656367136e26de3ac8ad98988ceeaf251ddc942
4
- data.tar.gz: fbc0c5332adb77f6a42b1716c403a31e3dd21d8eb79919ee214073a69caab8ed
3
+ metadata.gz: ab2015165472deac1f7603e9b2078f465453ae0fc9e0cc1a99df533a920e8caf
4
+ data.tar.gz: 36cd3e8803b25ff6f17c78804798e2f870de16d5323a6a7cf6b4c9792353e0e8
5
5
  SHA512:
6
- metadata.gz: 5db1e9fa62c9bf728776931b9276184d18b85c36e586efbe907fae818cd6ecf4785d8144e66b922a3e567f64db97a546d96ca3ee4ecd5b8aa3c655b7933bd496
7
- data.tar.gz: 9426a009a1184a403397818a2f37600702dbf72c3ecaa73bd7c0ffff44ab0f638416b033cc8e3208bbce664fba1fca97182bb7410b61e5b69dcc9bbff4f4f4ec
6
+ metadata.gz: df3652a6665620cd8aef5ead2f22771f606843a66d4ccc50efbf30b8652a2348c0251ce9da2a3567c357c9a304f951d8a2a56ae526a55b6235009e672043b3e1
7
+ data.tar.gz: 5baf5585c2d39427f0d2353e1e6b3eec20447da8b620f0c65807b66f2913882d4f63891048f4597db41317a697adb4f6bb7eb1a3d8e262d073c466af4434a91d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog — smeditor
2
2
 
3
+ ## 0.3.4 — 2026-09-20
4
+
5
+ - **Highlight** now keeps the text readable like **Fill**: the text on a coloured highlight becomes white on dark colours and dark on light ones (or White / Dark from the new "Text on highlight" chips). It replaces the text colour and fill on its range; a text colour picked afterwards still shows on top. Previously a dark highlight hid the text.
6
+ - Older highlights saved without a text colour get the readable colour when loaded.
7
+
8
+ ## 0.3.3 — 2026-09-20
9
+
10
+ - Colour tools are now: **Text color**, **Fill**, **Highlight** and **Underline color**.
11
+ - **Fill** (the former "Background color") paints the area behind the text and switches the text to a readable colour — white on dark fills, dark on light ones — or White / Dark chosen in the panel. It replaces the text colour and highlight on its range; a text colour picked afterwards shows on top.
12
+ - New **Underline color**: underlines the selection in the chosen colour; "Remove underline color" keeps the underline in the text colour. Underlines and strike-throughs now take the colour of the text they decorate.
13
+ - The "Text outline" button from 0.3.2 is removed from the toolbar and the text-stroke extension is back to its original behaviour; text saved with the 0.3.2 outline is shown as a fill.
14
+ - The public-page sanitizer keeps `text-decoration-color`.
15
+
16
+ ## 0.3.2 — 2026-09-20
17
+
18
+ - "Text outline" now fills the area behind the selected text (rounded, padded) and switches the text to a readable colour: white on dark fills, dark on light ones, or an explicit White/Dark choice in the panel. It replaces the text colour, background and highlight on that range so the text is always visible.
19
+ - Content saved with the old thin `-webkit-text-stroke` outline is upgraded to the filled outline when loaded.
20
+ - The outline button shows a filled "A" icon with the current fill colour under it.
21
+
22
+ ## 0.3.1 — 2026-09-20
23
+
24
+ - Formatting with a bare caret now applies to the word under the caret instead of recolouring the whole paragraph; toolbar active states follow the same rule.
25
+ - Text outline has its own icon and name ("Text outline") instead of reusing the text-colour "A", so it is no longer applied by mistake; its panel offers 1/2/3px widths and a labelled "Remove text outline" button.
26
+ - Colour pickers show the colour applied to the selection as a bar under the icon, mark it in the palette, and have a labelled remove button.
27
+ - Font, Size and Spacing show the current value on the trigger; alignment and list triggers show the current alignment/list icon and mark the active item (alignment state was never shown before).
28
+ - The selected-text bubble toolbar adds inline code, text colour, highlight and clear formatting, opens below the selection instead of covering the main toolbar, and hides when the editor loses focus.
29
+ - Neighbouring text with the same highlight/colour/outline is rendered as one element in a stable order, removing visible seams between pieces of one highlight.
30
+
3
31
  ## 0.3.0 — 2026-09-13
4
32
 
5
33
  - Added explicit `light` and `dark` theme selection across Core, React, and the Rails adapter. Rails now also supports a global `config.default_theme` and per-editor `theme` option.