Muhammad Ali
d99ccbc243
editor: fix jumping text/bg color popup ( #2306 )
...
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2023-04-15 17:53:01 +05:00
Abdulrehman-Jafer
0f191eba5c
editor: fix code block highlighting not updating in some cases ( #2267 )
...
Signed-off-by: Abdulrehman-Jafer <abdulrehmanjaferwork01233@gmail.com >
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com >
2023-04-15 17:50:03 +05:00
ammarahm-ed
9744679550
mobile: add support for setting default font-size & font-family
2023-04-08 01:53:46 +05:00
ammarahm-ed
9cdc502ce5
web: fix font family not applied when set on editor
2023-04-08 01:14:33 +05:00
Ammar Ahmed
300a104949
Merge branch 'master' into change-default-font
...
Signed-off-by: Ammar Ahmed <40239442+ammarahm-ed@users.noreply.github.com >
2023-04-07 23:17:23 +05:00
Abdullah Atta
f1609aaa46
editor: do not convert \n characters to paragraphs
2023-04-06 01:40:55 +05:00
Abdullah Atta
2e7935cacc
editor: publish
2023-04-05 01:53:16 +05:00
Muhammad Ali
27863def9c
web: fix RTL support for outline lists ( #2175 )
...
Co-authored-by: Muhammad Ali <alihamuh@gmail.com >
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2023-03-24 12:51:00 +05:00
Abdullah Atta
f1d4fd1d5d
editor: fix crash when theme.colors is undefined
2023-03-24 12:49:26 +05:00
Abdullah Atta
a3c24bc666
editor: fix image resizing
2023-03-22 13:28:25 +05:00
Abdullah Atta
88f90c6240
editor: add padding to placeholder
2023-03-22 13:28:25 +05:00
Abdullah Atta
a5c44dcb3b
editor: add src to image on copy
2023-03-22 13:28:25 +05:00
Abdullah Atta
763a108abb
editor: always use relative height for resizer
2023-03-22 13:28:25 +05:00
Abdullah Atta
30a069c845
editor: always use black icons on image overlay
2023-03-22 13:28:25 +05:00
Abdullah Atta
ffbf5cdc88
editor: fade-in on image load
2023-03-22 13:28:25 +05:00
Abdullah Atta
4318a65a99
editor: use dataurl attr for inserting an image
2023-03-22 13:28:25 +05:00
Abdullah Atta
e43740c6bc
editor: add comments for why we use UTITypes
2023-03-22 13:28:25 +05:00
Abdullah Atta
6123bccf4b
editor: only save image height on load
2023-03-22 13:28:25 +05:00
Abdullah Atta
08106c20e8
editor: use dataurl instead of src attr for loading images
2023-03-22 13:28:25 +05:00
Muhammad Ali
df94f31998
web: added state base to default font-family and size
2023-03-22 08:38:21 +05:00
ammarahm-ed
f9b8865351
editor: export blob as b64 with correct content type
2023-03-21 09:59:45 +05:00
Abdullah Atta
03803dbc23
editor: fix task-list tests
2023-03-20 18:05:27 +05:00
Abdullah Atta
9ea675ded1
editor: fix sub checklists not sorting
2023-03-20 18:05:27 +05:00
Abdullah Atta
4884c27a9a
editor: update patches
2023-03-20 16:40:58 +05:00
ammarahm-ed
b4220d349f
editor: fix loading copied image on ios
2023-03-20 16:34:46 +05:00
Abdullah Atta
d4752685d0
editor: keep marks when creating new list items
...
we shouldn't reset the user's selected styles like bold/italic when they
create a new list item.
2023-03-20 16:33:14 +05:00
Abdullah Atta
72db8724ec
editor: improve gradient overlay on image
2023-03-20 14:00:50 +05:00
Abdullah Atta
b1d4ccc27e
editor: fix dropdown needing 2 clicks to open
2023-03-18 12:28:08 +05:00
ammarahm-ed
a6021943e1
mobile: top level notes
2023-03-18 11:58:30 +05:00
Abdullah Atta
74c86c1e5f
editor: table options not visible on old tables
2023-03-17 22:44:29 +05:00
Ammar Ahmed
1ee24cde07
editor: add support for attachment previews ( #2123 )
...
This adds support for basic attachment preview support. Currently only image previews are supported on mobile.
Fixed image downloading not working on mobile
Added image preview support on mobile with support for loading full quality images in full screen.
Added Attachment preview logic in editor, so in future we can support preview for other files such as audio & video
2023-03-17 14:43:53 +05:00
Abdullah Atta
93baed35f4
editor: fix code-block tests to use our own getChangedNodes fn
...
(cherry picked from commit ff246fb9092ea002b76738f3f7082b5c5f10ea6c)
2023-03-13 12:41:29 +05:00
Abdullah Atta
3e1420d496
editor: get rid of @remirror/core-utils
...
(cherry picked from commit c74f15c86b2f25c9f572ea74f47243e1b52f9c1f)
2023-03-13 12:41:02 +05:00
Abdullah Atta
6ba04f4731
editor: move cell properties button outside of table settings
...
this fixes #1410
2023-03-06 16:44:09 +05:00
Abdullah Atta
01387bae94
editor: update code-block test snapshost
2023-03-06 15:15:52 +05:00
Abdullah Atta
cb644dbea6
editor: disable wrapping for all lines in codeblocks
2023-03-06 15:15:52 +05:00
Abdullah Atta
fc5ea0ad51
editor: add tests for codeblock
2023-03-06 15:15:52 +05:00
Abdullah Atta
8108dbae8a
editor: move codeblock language loading into highlighter plugin
2023-03-06 15:15:52 +05:00
Abdullah Atta
b14a9d6eca
editor: improve code block detection when pasting
2023-03-06 15:15:52 +05:00
Abdullah Atta
2f4a7f5410
editor: migrate tests to vitest
2023-03-06 15:15:52 +05:00
Abdullah Atta
46509a04b0
editor: all lists should have the same spacing
2023-02-28 16:18:48 +05:00
Abdullah Atta
092016f942
editor: do not build test files
2023-02-28 12:44:11 +05:00
Abdullah Atta
abf1f5c61c
editor: add tests for backspace handling
2023-02-28 11:17:05 +05:00
Abdullah Atta
1d5b0793d0
editor: move list node types to a separate file to prevent require loop
2023-02-28 11:17:05 +05:00
Abdullah Atta
5ba72fdbd4
editor: adjust sub list indentation
2023-02-28 11:17:05 +05:00
alihamuh
c7d26d2444
editor: improve backspace handling with lists
2023-02-28 11:17:05 +05:00
Ammar Ahmed
1cb0ebd4f8
mobile: fix scroll into view on ios ( #2017 )
2023-02-27 16:06:06 +05:00
Abdullah Atta
16ffec1f1e
editor: set up integration tests
2023-02-27 11:07:06 +05:00
Abdullah Atta
912e97dc3c
editor: add button to sort task list
2023-02-27 11:07:06 +05:00
Abdullah Atta
b948dcee22
editor: optimize clear all completed tasks action
2023-02-25 11:55:46 +05:00