Commit Graph

61 Commits

Author SHA1 Message Date
Aitor Moreno 7819e6c440 🐛 Fix previous styles lost when changing selected text 2026-01-07 12:41:39 +01:00
Aitor Moreno cab70773d2
Merge pull request #7667 from penpot/azazeln28-doc-add-more-info-text-editor-v2-readme
📚 Add more info about text editor v2
2026-01-07 09:40:06 +01:00
Aitor Moreno e39f292499 📚 Add more info about text editor v2 2026-01-02 10:13:34 +01:00
Belén Albeza 5cf51f3d26 🐛 Fix text selection not being restore if it was only 1 word 2025-12-10 15:05:13 +01:00
Belén Albeza 25acad5154 🔧 Add formatting rules to the TextEditor 2025-12-10 15:04:34 +01:00
Aitor Moreno 0d21e52068 🐛 Fix applyStylesTo entire selection 2025-12-03 11:07:33 +01:00
Elena Torro 1ba15e5d10 🐛 Do not merge fill styles 2025-12-03 08:55:11 +01:00
Elena Torro c6b64a8e39 🐛 Fix selectAll on mixed span styles 2025-12-02 16:50:48 +01:00
Elena Torro 511e80c948 🐛 Fix merge fill styles when there are multiple fills 2025-12-02 16:50:04 +01:00
Aitor Moreno 405ddb60d8 🐛 Fix letter spacing applied to paragraph 2025-12-02 10:45:19 +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 Torró 4f24a8f5f1
Merge pull request #7770 from penpot/ladybenko-12587-fix-text-editor-crash-empty
🐛 Fix crash when using a font family with a number in its name
2025-11-21 12:02:40 +01:00
Belén Albeza 76f5c73de6 Remove leftover console.log/trace 2025-11-21 10:59:15 +01:00
Belén Albeza c6dd3e0eeb Add missing param to cut handler 2025-11-21 10:28:48 +01:00
alonso.torres fde73f30b9 🐛 Fix paste crash 2025-11-21 09:51:54 +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 d73be5832b 🎉 Add an option to enable and disable HTML paste 2025-11-20 13:33:51 +01:00
Aitor Moreno f609747322 🐛 Fix inert element error 2025-11-19 18:23:44 +01:00
Elena Torro 368f4cfe81 🐛 Fix text editor select all functionality and inner paste corner cases 2025-11-17 16:24:52 +01:00
Elena Torro eaa3904a3a 🔧 Remove unused text attrs 2025-10-31 09:22:01 +01:00
Elena Torro 6edc29dce2 🐛 Fix text selection 2025-10-29 09:20:51 +01:00
Alejandro Alonso 9e035ec4fe
Merge pull request #7605 from penpot/ladybenko-fix-text-playground-crash
🔧 Fix text-related playgrounds (wasm)
2025-10-28 14:11:52 +01:00
Elena Torro 80c78d9cd4 🐛 Fix pasting text within an existing text 2025-10-28 09:39:52 +01:00
Elena Torro 28c4c1a286 🐛 Fix data-itype for text spans 2025-10-27 16:55:51 +01:00
Belén Albeza b498056c01 🔧 Fix text-related playgrounds (wasm) 2025-10-24 14:35:28 +02:00
Aitor Moreno 7f6af6179b 🐛 Fix paste when collpaseNode is a br 2025-10-23 15:06:32 +02:00
Aitor Moreno ceb184782f 🐛 Fix text editor paste inline/paragraph 2025-10-23 15:06:01 +02:00
Aitor Moreno eb088c31c1 🔧 Rename textleafs and inlines to keep coherence between render and editor 2025-10-23 13:04:21 +02:00
Aitor Moreno 7ca8bf32b2 🎉 Set DOM text editor element caret 2025-10-16 12:59:24 +02:00
Aitor Moreno 732c79b7b5 🎉 Add function to retrieve caret position 2025-10-01 09:18:46 +02:00
Aitor Moreno f505fcfa0d 🎉 Add internal TextContent layout data 2025-09-22 16:01:23 +02:00
Aitor Moreno 1a4594a615 🐛 Fix text editor v1 paste HTML 2025-09-09 10:48:15 +02:00
Elena Torró 0552b6e713
Merge pull request #7189 from penpot/azazeln28-feat-text-playground-fonts
🎉 Add multiple fonts to text editor WASM playground
2025-09-01 10:54:40 +02:00
Aitor Moreno 884b857d17
🐛 Fix paste RTF crashes text editor (#7196) 2025-08-28 11:53:39 +02:00
Aitor Moreno b215689566 🎉 Add multiple fonts to text editor WASM playground 2025-08-27 09:57:55 +02:00
Aitor Moreno 596193d34d 🎉 Add missing styles on text leaves 2025-08-22 12:22:51 +02:00
Aitor Moreno 15eee0d8d8 🎉 Add Text Editor WASM Playground 2025-08-22 12:22:51 +02:00
Belén Albeza d5abf34538
🐛 Fix text style change not being applied (#7036)
* 🐛 Fix text styles not being applied to current cursor

* 🔧 Add text file for bug 11552

* 📚 Update changelog
2025-08-05 13:35:54 +02:00
Aitor Moreno e6ac2c1159
Merge pull request #6880 from penpot/elenatorro-fix-editor-crash-on-deleting-entire-selection-firefox
🐛 Handle empty paragraph on entire selected text deletion
2025-07-28 17:39:25 +02:00
Belén Albeza af5b942e05 🐛 Fix copy/paste not working on follow up pastes 2025-07-25 09:53:48 +02:00
Belén Albeza 098fd9fb0f 🐛 Fix not picking up font style / variant in new renderer 2025-07-25 09:48:20 +02:00
Belén Albeza a242962113 🐛 Fix missing font when pasting text (editor v1) 2025-07-25 09:48:20 +02:00
Elena Torro e2b55d814b 🐛 Fix select all deletion error on Firefox 2025-07-09 14:50:35 +02:00
Andrey Antukh 79a164be6d 🐛 Fix exception on paste invalid html 2025-05-14 16:07:01 +02:00
Aitor Moreno db55c06c67
🐛 Fix pasted text loses font-family style (#5808) 2025-02-11 10:07:59 +01:00
Aitor Moreno 1f2e36774e
🐛 Fix pasting adds a newline (#5763) 2025-02-04 15:54:17 +01:00
Aitor Moreno 774cf81fc8
🐛 Fix wrong blinking position after paste (#5756) 2025-02-04 11:29:25 +01:00
Aitor Moreno 8145eb89d7
🐛 Fix styles not being inherited (#5717) 2025-01-29 23:06:05 +01:00