Commit Graph

77 Commits

Author SHA1 Message Date
dab246 28d5036667 TF-4378 Migrate scribe-mobile branch to master branch 2026-03-25 11:52:35 +07:00
Théo Poizat be7f28f270 Fix Scribe mobile issues
- Fix Scribe replace on mobile when opened from menu bar (to be complete
this fix needs this PR https://github.com/Enough-Software/enough_html_editor/pull/37)
- Ensure all mobile editor call are awaited
- Do not clear text if a selection has been restored (which mean we replace a selection)
- Avoid collapseToEnd crash
2026-03-25 11:52:35 +07:00
Théo Poizat 752f42dc7d Ensure editor is focused before calling insert HTML
enough_html_editor uses execCommand to insert HTML. However
execCommand only works if the contenteditable element is focused. So
inserting or replacing Scribe result do not work if the user did not
click before in the composer.

Here we manually focus the contenteditable element to fix this before
inserting content.
2026-03-25 11:52:35 +07:00
Dat Dang 1b29b481c0 HOTFIX Integration test 0.24.8 (#4298) 2026-02-03 12:12:44 +07:00
Dat Dang de8de6c83f HOTFIX Create identity memory leak (#4295) 2026-02-02 19:46:11 +07:00
dab246 a23d15a9ca TF-4136 refactor(logging): replace logError with logWarning for non-critical cases 2026-01-06 13:53:22 +07:00
dab246 fa0ba5d689 TF-4142 Close link overlay when click email content view 2025-11-17 11:43:18 +07:00
dab246 2e54493a69 TF-4082 Setup text formatting menu state from user's preferences in composer 2025-11-14 22:34:50 +07:00
dab246 64f4096340 Fix cannot scroll editor when disable code view in composer 2025-10-03 15:03:41 +07:00
DatDang c09a2c92b2 TF-3631 E2E log out 2025-09-16 10:03:59 +07:00
Dat Dang ab55c9e96f HOTFIX Composer cursor blink (#3983) 2025-08-28 08:42:48 +07:00
dab246 a4b0885477 Close color picker when click outside in composer 2025-08-27 16:06:26 +07:00
dab246 5423a9096c TF-3956 Add font size in toolbar of vacation editor
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-18 15:47:34 +07:00
dab246 d2f0d9e180 TF-3177 Fix drag and dropping images sometimes breaks UI in composer on web
Signed-off-by: dab246 <tdvu@linagora.com>
2025-06-27 09:02:55 +07:00
dab246 c6bb268a75 TF-3622 Synchronize all style attributes in html and write E2E for it.
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-14 01:55:26 -07:00
dab246 0b9bb3530c Fix appear save draft dialog when reload editing composer
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-01 04:40:13 -07:00
dab246 248b6b6ac4 TF-3399 Fix can not click on body of composer in Samsung A3 2025-02-05 03:00:08 -08:00
dab246 fc4ca58d4e TF-2475 Add onSubjectTextListener for subject focus node 2024-07-02 13:06:10 +02:00
dab246 e139e1ec94 TF-2475 Handle format style rich text in composer 2024-07-02 13:06:10 +02:00
dab246 4ccebb8a55 TF-2584 Remove toolbox buttons in keyboard header and move to app bar of composer in mobile 2024-07-02 13:06:10 +02:00
dab246 797a14c483 TF-2532 Invoke request focus editor when insert inline image 2024-07-02 13:06:10 +02:00
dab246 36ab6b1ccc Only create and use the correct rich text controller for each platform 2024-06-11 13:59:12 +07:00
dab246 6b82027090 TF-2667 Fix width size inline image in email view after send email 2024-06-11 13:59:12 +07:00
dab246 ae6341532c TF-2667 Handle save message to cache when reload page 2024-06-11 13:59:12 +07:00
dab246 145a49d728 TF-2644 Handle total size exceeded maximum size when drag & drop multiple file to composer 2024-06-11 13:59:12 +07:00
DatDang b63d212af4 TF-2533 Fix composer memory leak when reply and forward 2024-04-11 11:57:01 +07:00
dab246 3c4fa63970 TF-2774 Fix big image dimension in signature 2024-04-05 14:54:42 +07:00
dab246 ebd62ab78f TF-2520 Create some class to handle html
Signed-off-by: dab246 <tdvu@linagora.com>
2024-03-08 13:40:12 +07:00
dab246 9e5e6af9ce TF-1831 Handle system back button in setting view
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 5f00c1adcb1bc45ec47b1cff1eb738228264dee1)
2024-01-08 14:25:26 +01:00
dab246 82f42aa805 TF-2401 Fix cannot upload svg image as signature
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit d3fbecbf63900a45d86e60b4b8cfe652ec2b410a)
2024-01-08 14:25:26 +01:00
dab246 b6be0dcf3a TF-2245 Only use bytes when insert image in identity creator on web
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit d879dbaf7e9fbe81c7cf1c1e43b1ec275e3522c6)
2023-10-27 11:18:29 +07:00
dab246 913b546ed5 TF-2245 Upload image with cid when drag n drop image
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 68f7eff3b22cf743f5846900e17e2a62a8cbc3e9)
2023-10-27 11:18:29 +07:00
dab246 ba651b3610 TF-1301 Handle select font size while compose email
Signed-off-by: dab246 <tdvu@linagora.com>

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 194ccd3a0cf1da161607daf2506bdf524daaf305)
2023-10-27 11:18:29 +07:00
dab246 c9f329d9a8 Fix some file with mimeType is empty cannot drag n drop attachment
(cherry picked from commit ad223e1e9d3d6da67e247341ff2da52dbcf4a412)
2023-10-09 12:12:24 +07:00
dab246 25b26acc42 TF-2118 Handle drop n drop image as inline
(cherry picked from commit 2eb6ad6a05224b3caafc59565fd5fa6bdd819870)
2023-10-09 12:12:24 +07:00
dab246 56fac29e55 TF-2116 Persist new signature when open draft email
(cherry picked from commit 4bf72a6e31855061b232fe3c6bab483bcb3f264a)
2023-10-09 12:12:24 +07:00
dab246 e63a8f7d7f TF-2116 Insert image at mouse cursor position
(cherry picked from commit cb347e5077eddb1366daf706aa87eb2291f71aab)
2023-10-09 12:12:24 +07:00
dab246 11dcc38fab TF-2116 Apply new design for web composer
(cherry picked from commit 1295eb59b2f5abd1095c00ade53c90f7d4f1ecd6)
2023-10-09 12:12:24 +07:00
dab246 ce14267928 TF-1486 Add insert image in signature on mobile/tablet
(cherry picked from commit 3411ecf28c01651a3747e67dd797885a10b532fe)
2023-07-14 16:24:47 +07:00
dab246 d072f6a243 TF-1486 Add insert image in signature on web
(cherry picked from commit 50f0e54b2a47fe2e857372f56293d1c1800ded2b)
2023-07-14 16:24:47 +07:00
dab246 32adfb3581 TF-1877 Use execSummernoteAPI to format text style
(cherry picked from commit 6c81bef9a0cbe391ebf42096dc33ae0d99cf79c8)
2023-07-07 22:45:26 +07:00
dab246 68145165be TF-1878 Fix font family not changed correctly in composer
(cherry picked from commit a4c72a79abf429aa2938c8218308f1ac16f89d76)
2023-06-26 22:02:30 +02:00
dab246 36a09827cf Fix select font style always default when changed
(cherry picked from commit 886a08892a6307c6e2c3490b1361eea6e9a423a0)
2023-06-15 18:02:17 +07:00
dab246 5fde461d44 TF-1851,1852 Fix selected "rich text menu" do not match current text status
(cherry picked from commit b21db2511a9e32db485d32319fc3e6482a272211)
2023-06-13 10:17:45 +07:00
HuyNguyen 3c761af4f4 TF-1545: Update pick color dialog in rich text
(cherry picked from commit e70c9871c3e47ac2d0f2ed47265cae398665d984)
2023-04-14 17:12:34 +07:00
dab246 2899e38555 TF-1371 Remove unnecessary setFullScreen
(cherry picked from commit 163f04a89301a6bcc225f6f07a0445d0093f2ff3)
2023-03-24 19:40:48 +07:00
HuyNguyen a5c0fd785f TF1473: Fixed cursor of typing when insert a image
(cherry picked from commit e747c8951ab6557eeb6da648d30e455c151c8d40)
2023-03-24 19:40:48 +07:00
HuyNguyen e16fc900bb TF1528: Remove func set Full Screen not use
(cherry picked from commit aa63031d5943dd5b61212de26fc7b2a1adf8dcb3)
2023-03-24 19:40:48 +07:00
dab246 2b71aba278 TF-1487 Apply linter rule 2023-03-10 21:10:36 +07:00
ManhNTX 350167eae5 TF-1034: Apply new rich text toolbox for Tablet 2022-10-14 15:30:13 +07:00