Commit Graph

986 Commits

Author SHA1 Message Date
Abdullah Atta
b013a1cfa7 editor: fix collapsed callouts not rendering correctly 2024-04-03 15:33:28 +05:00
Abdullah Atta
c26e2d800d editor: add Shift+Mod+L shortcut for adding internal links 2024-04-01 11:38:59 +05:00
Abdullah Atta
9109c5180a editor: remove display: inline for floating images 2024-04-01 11:27:10 +05:00
Ammar Ahmed
9e7c302693 mobile: minor bug fixes 2024-03-26 08:57:23 +05:00
Abdullah Atta
3730596030 editor: fix random crash Cannot read properties of null (reading 'domFromPos') 2024-03-25 13:06:06 +05:00
Abdullah Atta
7f176942ba editor: cancel image download on switching notes 2024-03-25 13:02:11 +05:00
Abdullah Atta
e24452c386 editor: remove not an image error thrown when downloading images 2024-03-21 12:42:23 +05:00
Abdullah Atta
68e97f17d0 editor: fix clicking on internal link opens a new tab 2024-03-21 12:28:26 +05:00
Abdullah Atta
9040a4561d editor: fix Cannot read properties of null (reading 'posFromDOM') error 2024-03-21 12:28:07 +05:00
Abdullah Atta
cc0be4565d editor: refactor diff highlighter extension 2024-03-21 11:22:49 +05:00
Abdullah Atta
1a2ce6ba72 editor: add block-id on nodes inside callout 2024-03-21 11:22:49 +05:00
Abdullah Atta
adb3805ec7 editor: disable conflicting simple checklist input rule 2024-03-21 11:22:49 +05:00
Abdullah Atta
f2a5ed6642 editor: add support for copy/pasting code blocks with highlighting 2024-03-21 11:22:49 +05:00
Abdullah Atta
e1339617b5 web: fix crash on copying from codeblock 2024-03-21 11:22:48 +05:00
Abdullah Atta
37dd691270 editor: fix hover popup appearing in wrong position 2024-03-21 11:22:48 +05:00
Abdullah Atta
4349445910 editor: fix outline list has no data-block-id attribute 2024-03-21 11:22:48 +05:00
Abdullah Atta
669849018a editor: fix DOMException when removing react node views 2024-03-21 11:22:48 +05:00
Abdullah Atta
71ad15b4b6 editor: minor refactors 2024-03-21 11:22:48 +05:00
Abdullah Atta
732185a69d editor: fix crash on select all + backspace with lists 2024-03-21 11:22:48 +05:00
Abdullah Atta
479dec6998 editor: fix crash on removing task list 2024-03-21 11:22:48 +05:00
Ammar Ahmed
ff6b65c55c editor: enable block id on checklist and callout 2024-03-21 11:22:48 +05:00
Abdullah Atta
6e5493f149 editor: fix react node views for react 18 2024-03-21 11:22:48 +05:00
Ammar Ahmed
b185338be2 editor: always show note internal link button in toolbar 2024-03-21 11:22:48 +05:00
Abdullah Atta
b4161644d0 editor: handle link open on click 2024-03-21 11:22:48 +05:00
Abdullah Atta
cb124c7445 editor: update tiptap & other packages 2024-03-21 11:22:48 +05:00
Abdullah Atta
fce0d50061 editor: fix newline added in callout on typing anything 2024-03-21 11:22:48 +05:00
Abdullah Atta
dac2a22824 editor: fix => turning into a callout 2024-03-21 11:22:48 +05:00
Abdullah Atta
655bdf3798 editor: fix image size resetting on resize 2024-03-21 11:22:48 +05:00
Abdullah Atta
78cbce5ca0 editor: #dialogContainer > .dialogContainer 2024-03-21 11:22:47 +05:00
Ammar Ahmed
c5ec5f127d editor: fix collapsing a callout collapses all parent callouts 2024-03-21 11:22:47 +05:00
Ammar Ahmed
eca9f221ac editor: add highlight diff extension 2024-03-21 11:22:46 +05:00
Abdullah Atta
3876cb5ec3 editor: fix some images not loading 2024-03-21 11:22:11 +05:00
Abdullah Atta
c56445f817 global: update lockfiles 2024-03-21 11:22:11 +05:00
Abdullah Atta
18afc0a49c editor: fix type errors 2024-03-21 11:22:11 +05:00
Abdullah Atta
c8bf1fc2cd editor: do not add data-block-id attribute if no blockid 2024-03-21 11:22:10 +05:00
Abdullah Atta
3d25a1d5c2 editor: highlight active block for 5 seconds 2024-03-21 11:22:10 +05:00
Abdullah Atta
47ae03ba8a global: upgrade typescript to 5.4.2 2024-03-21 11:21:07 +05:00
Ammar Ahmed
b4a0e97e3f editor: do not focus editor on end search 2024-03-21 11:21:06 +05:00
Abdullah Atta
5deb5253c1 editor: fix search decorations not cleared on search end 2024-03-21 11:21:04 +05:00
Abdullah Atta
7a48c7c1e3 editor: fix text on selected search result not visible 2024-03-21 11:21:03 +05:00
Abdullah Atta
324256a499 editor: use global search store for managing search state 2024-03-21 11:21:03 +05:00
Abdullah Atta
eaea7bdd2a editor: minor refactor 2024-03-21 11:21:03 +05:00
Abdullah Atta
94c1556a5c editor: fix range error crash 2024-03-21 11:21:03 +05:00
Abdullah Atta
5974ffc0d4 editor: do not add block id on list items
(because they already contain paragraphs and we don't want duplicates)
2024-03-21 11:21:03 +05:00
Abdullah Atta
6184281694 editor: do not touch editor when its view is destroyed 2024-03-21 11:21:02 +05:00
Abdullah Atta
c51406ca04 editor: fix selection/focus is lost when editor state is updated 2024-03-21 11:21:02 +05:00
Abdullah Atta
07db957f67 editor: fix list type thumbnails in toolbar 2024-03-21 11:21:02 +05:00
Abdullah Atta
d31194bb39 editor: hide hover popup on editor destroy 2024-03-21 11:21:02 +05:00
Abdullah Atta
44827d13fe editor: render interactive popups in popup instead of menu 2024-03-21 11:21:02 +05:00
Abdullah Atta
c847ca0817 editor: scroll blocks into view only for active editor 2024-03-21 11:21:02 +05:00