01zulfi
9ea84ca9ae
editor: reduce horizontal rule height for large screens ( #9040 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2026-02-12 14:02:01 +05:00
01zulfi
bfedc1f43e
editor: replace simplebar with simple css styling ( #9085 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2026-01-16 14:24:11 +05:00
01zulfi
751d0ca861
editor: fix hidden collapse/expand icon when callout title is empty ( #9220 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2026-01-16 13:06:43 +05:00
01zulfi
e0c31d6fdd
editor: fix icons not aligning in outline,task,check lists & callouts because of custom line height
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2026-01-07 14:05:57 +05:00
01zulfi
a4d29f3e7a
editor: hide expand/collapse icon for empty headings ( #9063 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-12-17 14:18:30 +05:00
01zulfi
81da60333d
editor: fade all nodes inside a checklist item except for a nested checklist ( #9008 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-11-29 12:37:36 +05:00
01zulfi
ed2a04d590
editor: improve inline code styling ( #8987 )
...
* editor: improve inline code styling
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* editor: remove top&bottom padding from inline code
* it was cutting off a bit of text from top&bottom lines
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* editor: update text color of inline code
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* editor: adjust font size and padding of inline code
---------
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2025-11-27 12:05:16 +05:00
01zulfi
573b24f28f
editor: fix heading align ( #8996 )
...
this reverts all the custom layout based on divs & spans and moves back to using pseudo element for the expand/collapse icon.
There were a few problems with the previous logic:
1. We had to write custom logic for text alignment (not a huge deal but it could cause bugs down the line)
2. Aligning the icon properly was hit or miss. We were using flex which meant for multi line headings, the icon appeared way to the left instead of right next to the end of the heading.
3. The styling css for the previous logic was MASSIVE and handled lots of cases which meant more maintenance burden for us.
The new logic is simpler:
1. Use `::after` pseudo element for the expand/collapse icon. This works very nicely on Android.
2. Use selection range on the heading to compute bounding rects for each line. It's a bit hacky but works for both LTR & RTL headings.
---------
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
Co-authored-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2025-11-27 11:43:27 +05:00
01zulfi
82685314f7
editor: improve table cell styling ( #8960 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-11-27 11:43:27 +05:00
01zulfi
c1370af395
editor: change heading collapse icon pos ( #8953 )
...
* editor: enable heading in table, change collapse icon pos, && disable empty heading collapse
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* editor: migrate empty collapsed headings in parseHTML instead of plugin
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* editor: remove migration for empty collapsed headings
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* editor: fix heading collapse on mobile
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* editor: use ontouchend instead of ontouchstart
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2025-11-27 11:43:27 +05:00
Abdullah Atta
1d6ff96dd9
Merge pull request #8930 from streetwriters/feat/improve-tables-on-mobile
2025-11-27 11:12:43 +05:00
01zulfi
30466e4a76
editor: fade checklist when checked
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
Update packages/editor/styles/styles.css
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
2025-11-24 09:38:16 +05:00
Abdullah Atta
bfddf288eb
editor: massive improvements to tables on mobile
...
- resizable columns
- cell selection
2025-11-12 11:23:16 +05:00
01zulfi
f728ad8826
editor: disable collapsible headings inside tables
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-11-11 11:39:41 +05:00
01zulfi
ce4fa13758
editor: fix disappearing nodes under collapsed headings if heading is edited
...
* design flaw in using the hiddenUnder attribute on hidden nodes, a hidden attribute should be sufficient
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-10-30 12:59:50 +05:00
Ammar Ahmed
7eefecd961
editor: do not strikethrough on checked item in checklist
2025-10-29 11:38:32 +05:00
Ammar Ahmed
ea2022bbe4
Merge branch 'mobile-release-v3.3.4' into beta
2025-10-20 08:39:56 +05:00
Ammar Ahmed
13476a3f50
editor: fix checklist style
2025-10-18 08:56:04 +05:00
Abdullah Atta
8d3bb5185c
Merge branch 'master' into beta
2025-10-17 08:51:19 +05:00
01zulfi
27f781cc63
editor: improve codeblock scrollbar styling ( #8548 )
...
* editor: improve codeblock scrollbar styling
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
* editor: fix overflowed codeblock's bg color
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-10-16 16:50:35 +05:00
Abdullah Atta
1427958eca
Merge pull request #8457 from 01zulfi/editor/tasklist-checklist-styling
...
editor: improve checklist styling
2025-10-16 15:01:24 +05:00
Abdullah Atta
436e09c255
editor: fix text direction not working in check lists
2025-10-16 14:50:13 +05:00
Abdullah Atta
cc9b2dd5b0
editor: add back line through for checked items
2025-10-16 14:45:40 +05:00
Abdullah Atta
0ba25419f3
editor: use single li element for simple checklists
2025-10-16 14:43:51 +05:00
01zulfi
b01d1fc87e
editor: improve checklist styling
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-10-16 09:28:02 +05:00
Abdullah Atta
9f4c0a4c9a
editor: move outline list item indicator to li from first child
2025-10-16 09:23:19 +05:00
01zulfi
5219814b5a
Merge pull request #8557 from 01zulfi/editor/refactor-collapsible-headings
...
editor: make headings collapsible
2025-10-08 13:26:37 +05:00
Abdullah Atta
a0597e13fe
Revert "Merge pull request #8493 from 01zulfi/editor/collapsible-headings"
...
This reverts commit 7241dce7a6 , reversing
changes made to ae5b422965 .
2025-10-03 08:54:28 +05:00
Abdullah Atta
1be6e6b444
Merge pull request #8388 from streetwriters/fix/theme-issues-2
2025-09-12 08:28:13 +05:00
01zulfi
6ab58c68e1
editor: make headings collapsible
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-09-09 14:39:32 +05:00
01zulfi
6eb1f2a4a7
editor: install & use simplebar for table scroll bar
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-09-02 13:02:55 +05:00
01zulfi
1ae9e04e7a
editor: improve table styling
...
* make tool buttons more prominent
* match scroll styling to rest of app
* add padding to cells
* add bg to header row
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-08-20 14:43:02 +05:00
Abdullah Atta
7f3c74b55b
editor: fix theme related issues
2025-07-23 08:32:35 +05:00
01zulfi
d812024c25
editor: remove styling for sibling elements of double spaced paragraphs ( #8144 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-06-16 14:09:27 +05:00
Abdullah Atta
7ab4a2210a
editor: make search results style toggleable
2025-06-16 14:08:55 +05:00
Abdullah Atta
5d4d84bded
editor: add support for nn-search-result node
2025-06-16 14:08:55 +05:00
Ammar Ahmed
29433c4149
editor: fix alignment items in callout heading ( #8101 )
...
* editor: fix alignment items in callout heading
* Update packages/editor/styles/styles.css
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
---------
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2025-06-16 14:08:54 +05:00
Abdullah Atta
673ea6da86
editor: remove fixed line height
2025-04-10 10:29:26 +05:00
Abdullah Atta
e186615163
global: update ui
2025-04-10 10:28:57 +05:00
Ammar Ahmed
ca60eda7f2
editor: fix checklist item size
2025-03-28 14:25:59 +05:00
Ammar Ahmed
2878f1d9cf
editor: ensure consistent gap between heading and first element in callout ( #7757 )
2025-03-12 13:11:14 +05:00
Ammar Ahmed
a2a4a165a5
editor: fix item margins in editor ( #7744 )
2025-03-06 15:49:51 +05:00
Ammar Ahmed
9c7ff38f99
editor: fix image padding in readonly mode ( #7743 )
...
* editor: fix image padding in readonly mode
* editor: fix class name
2025-03-06 15:46:03 +05:00
Abdullah Atta
a377b13e2b
editor: fix single & double spaced paragraph margins
2025-03-01 10:40:27 +05:00
01zulfi
a48bd360ca
editor: improve hr & p styling ( #7489 )
...
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com >
2025-02-17 12:10:10 +05:00
Abdullah Atta
0f380b9962
Revert "editor: fix heading and p gap ( #6530 )"
...
This reverts commit c26988134f .
2024-11-20 11:21:48 +05:00
Abdullah Atta
6671a97181
editor: get rid of framer-motion
2024-11-13 15:48:33 +05:00
Muhammad Ali
3750dd38dc
editor: fix some math glyps not rendering correctly ( #6762 )
2024-10-24 11:47:13 +05:00
Ammar Ahmed
c26988134f
editor: fix heading and p gap ( #6530 )
...
* editor: fix heading and p gap
* Update packages/editor/styles/styles.css
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
---------
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2024-09-11 13:24:58 +05:00
Abdullah Atta
c82c30b530
editor: fix search replace
2024-05-16 11:34:10 +05:00