Andrey Antukh
258dd6ad6c
🐛 Handle text node targets in closest-text-editor-content ( #10641 )
...
Event targets can be DOM text nodes (nodeType 3) which lack the
.closest() method. Add a get-element helper that normalizes text
nodes to their parent Element before calling .closest(), matching
the existing pattern in dom/get-parent-with-data.
Fixes #10640
AI-assisted-by: mimo-v2.5-pro
2026-07-16 12:19:50 +02:00
Alejandro Alonso
05e9c68a74
🐛 Fix preserving empty text fill when editing without changes ( #10483 )
2026-06-30 17:59:54 +02:00
Alejandro Alonso
b096832bf5
🐛 Fix v2 text editor detaching typography tokens ( #10402 )
2026-06-24 18:20:21 +02:00
Elena Torró
dfa88a28fd
🐛 Fix text editor swap when WebGL render is enabled/disabled
2026-06-04 08:39:33 +02:00
Andrey Antukh
c5de4c27b0
Merge remote-tracking branch 'origin/main' into staging
2026-06-01 12:57:39 +02:00
Yamila Moreno
ddba2ffa75
📎 Update Kaleidos Copyright ( #9929 )
2026-05-29 11:24:58 +02:00
Alejandro Alonso
6663105f4b
🐛 Avoid restoring empty saved-font-size to prevent invalid text shapes on save ( #9917 )
2026-05-28 12:39:43 +02:00
Andrés Moya
65c6b7be7c
🐛 Fix changed font size when editing a text with no changes
2026-05-21 16:46:52 +02:00
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
Andrey Antukh
ac1c3ff184
Merge branch 'staging-render' into develop
2026-02-09 14:14:02 +01:00
Aitor Moreno
b72959544c
🐛 Fix text not restored on ctrl+z
2026-02-09 13:29:31 +01:00
Andrey Antukh
0527124f2f
Merge remote-tracking branch 'origin/staging-render' into develop
2026-01-27 17:56:03 +01:00
Andrey Antukh
0ab126748f
💄 Add format rule for code comments ( #8211 )
...
* 💄 Add format rule for code comments
* ⬆️ Update linter and formatter on devenv
2026-01-27 15:07:18 +01:00
Aitor Moreno
f4f4f5bbb5
🐛 Fix multiple issues and tests
2026-01-26 14:14:06 +01:00
alonso.torres
bd580ab159
🐛 Fix problem when changing colors with multiple fonts
2025-12-22 17:14:37 +01:00
Aitor Moreno
876d5783cf
✨ Add text editor v2 integration tests
2025-12-01 15:56:52 +01:00
Belén Albeza
4d6d7a6a3d
🐛 Fix emoji font not being used as fallback in text editor dom
2025-11-27 17:23:20 +01:00
Belén Albeza
f84c236e02
🐛 Fix text editor v2 not using fallback fonts for selected text
2025-11-27 12:26:39 +01:00
Elena Torro
55896db49e
🔧 Check for emtpy/nil attrs when getting inline style
2025-11-21 14:10:23 +01:00
Belén Albeza
d0d2f43ca1
🐛 Fix text editor crash with font families with a number in their name
2025-11-20 15:22:40 +01:00
Aitor Moreno
32e1b55658
♻️ Refactor clipboard
2025-11-19 18:23:44 +01:00
Elena Torro
127fa931c7
🐛 Fix new lines spacing between paragraphs
2025-11-14 12:00:39 +01:00
Alejandro Alonso
718f42aa94
🐛 Fix deselect and delete events for empty texts
2025-11-12 08:33:17 +01:00
Elena Torro
f496ba78f3
🔧 Fix cross-browser text issues
2025-11-06 12:20:02 +01:00
Elena Torro
e673035817
🔧 Filter out empty paragraph content
2025-11-04 09:57:13 +01:00
Aitor Moreno
fadbe24aaa
🐛 Fix empty text attr defaults
2025-10-30 14:16:30 +01:00
Andrey Antukh
8bb210e7b6
🎉 Add binary fills integration
2025-07-23 08:03:23 +02:00
Andrey Antukh
9ee488009f
♻️ Add substantial refactor on how types are organized
...
This mainly affects types related to colors, fills and texts, moving library
based operations from color namespace.
2025-07-23 08:03:23 +02:00
alonso.torres
37b50497f3
🐛 Fix problem with editor line-height
2024-11-27 11:51:13 +01:00
AzazelN28
68397edd4d
🐛 Fix text editor selection
2024-11-19 14:47:38 +01:00
AzazelN28
7398f7ce0d
♻️ Replace Draft.js with custom editor
2024-10-01 22:31:16 +02:00