Eva Marco
0c60db56a2
🐛 Fix multiselection error with typography texts ( #9071 )
...
* 🐛 Ensure typography-ref attrs are always present and fix nil encoding
Add :typography-ref-file and :typography-ref-id (both defaulting to nil)
to default-text-attrs so these keys are always present in text node maps,
whether or not a typography is attached.
Skip nil values in attrs-to-styles (Draft.js style encoder) and in
attrs->styles (v2 CSS custom-property mapper) so nil typography-ref
entries are never serialised to CSS.
Replace when with if/acc in get-styles-from-style-declaration to prevent
the accumulator from being clobbered to nil when a mixed-value entry is
skipped during style decoding.
* 🎉 Add test
---------
Co-authored-by: Andrey Antukh <niwi@niwi.nz>
2026-04-23 16:08:56 +02:00
..
2024-07-04 12:41:48 +02:00
2026-02-02 16:16:58 +01:00
2024-05-07 16:18:42 +02:00
2024-06-11 10:38:41 +02:00
2025-03-12 14:37:39 +01:00
2024-06-11 14:55:00 +02:00
2025-09-04 07:13:16 +02:00
2024-10-21 10:15:57 +02:00
2024-11-04 09:23:20 +01:00
2024-11-04 09:23:20 +01:00
2025-11-19 18:23:44 +01:00
2025-02-04 11:00:46 +01:00
2025-02-12 15:36:01 +01:00
2026-03-13 12:47:34 +01:00
2026-03-13 12:47:34 +01:00
2026-02-13 10:57:27 +01:00
2026-02-17 16:40:59 +01:00
2026-02-17 16:40:59 +01:00
2026-02-16 16:58:05 +01:00
2026-02-16 16:58:05 +01:00
2026-02-17 14:32:09 +01:00
2026-02-23 12:49:27 +01:00
2026-02-23 12:49:27 +01:00
2026-03-25 07:29:20 +01:00
2026-03-25 07:29:20 +01:00
2026-03-25 15:56:56 +01:00
2025-08-29 11:25:58 +02:00
2025-05-06 13:39:15 +02:00
2025-01-14 16:09:42 +01:00
2025-10-22 13:19:10 +02:00
2024-12-10 10:47:55 +01:00
2024-10-21 10:15:57 +02:00
2024-11-04 09:23:20 +01:00
2024-12-10 10:47:55 +01:00
2024-11-04 09:23:20 +01:00
2024-12-10 10:47:55 +01:00
2025-02-12 15:36:01 +01:00
2025-08-29 11:25:58 +02:00
2025-08-29 11:25:58 +02:00
2025-08-29 11:25:58 +02:00
2025-08-29 11:25:58 +02:00
2025-12-05 17:04:07 +01:00
2026-01-26 12:50:28 +01:00
2024-11-04 09:23:20 +01:00
2024-05-07 16:18:42 +02:00
2024-12-10 10:47:55 +01:00
2024-12-10 10:47:55 +01:00
2024-05-07 16:18:42 +02:00
2026-02-16 16:58:05 +01:00
2025-08-29 11:25:58 +02:00
2025-09-22 09:52:56 +02:00
2024-05-07 16:18:42 +02:00
2024-05-07 16:18:42 +02:00
2026-02-16 16:58:05 +01:00
2024-05-07 16:18:42 +02:00
2024-11-19 16:38:21 +01:00
2024-11-19 16:38:21 +01:00
2024-12-10 10:47:55 +01:00
2025-02-12 15:36:01 +01:00
2024-06-10 09:29:58 +02:00
2025-01-10 10:44:08 +01:00
2025-04-11 15:17:33 +02:00
2024-06-11 10:38:41 +02:00
2024-06-10 09:29:58 +02:00
2026-04-23 16:08:56 +02:00
2025-02-12 15:36:01 +01:00
2026-03-26 11:43:06 +01:00
2024-06-10 09:29:58 +02:00
2024-06-11 10:38:41 +02:00
2026-02-13 10:57:27 +01:00
2026-02-17 14:32:09 +01:00
2024-05-09 13:45:06 +02:00
2025-11-28 13:25:13 +01:00
2025-03-24 18:02:05 +01:00
2024-12-10 10:47:55 +01:00
2024-10-29 14:41:34 +01:00
2024-10-29 14:41:34 +01:00
2024-10-29 14:41:34 +01:00
2025-11-19 18:23:44 +01:00
2025-11-19 18:23:44 +01:00
2024-10-29 14:41:34 +01:00
2024-10-29 14:41:34 +01:00
2026-01-21 16:01:20 +01:00