Muhammad Ali
a973a5cdf0
editor: fix incorrect paragraph formatting in copied text ( #1299 )
...
Signed-off-by: Muhammad Ali <alihamuh@gmail.com >
2022-11-08 16:57:48 +05:00
Abdullah Atta
545c78361b
editor: set proper checks when scrolling result into view
2022-11-07 13:05:06 +05:00
Muhammad Ali
d7a80c631b
editor: jump to search result using arrow keys not working ( #1289 )
...
* editor: search occurence scroll into view corrected
Signed-off-by: Muhammad Ali <alihamuh@gmail.com >
* Update packages/editor/src/extensions/search-replace/search-replace.ts
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2022-11-05 15:50:42 +05:00
Muhammad Ali
a650b8c2d9
editor: force update syntax highlights on 1st render ( #1265 )
...
Signed-off-by: Muhammad Ali <alihamuh@gmail.com >
2022-11-01 14:45:27 +05:00
Abdullah Atta
9489d73221
web: remove background color from images
2022-10-26 15:11:29 +05:00
Dylan
57658beb1c
editor: multiple tables in 1 note should not freeze the editor ( #1228 )
...
* editor: prevent tables from freezing the editor
Signed-off-by: Dylan Hackworth <dylhack@gmail.com >
* editor(#1228 ): use STD console instead
Signed-off-by: Dylan Hackworth <dylhack@gmail.com >
* editor(#1228 ): revert try catch replace with Node abstraction
Signed-off-by: Dylan Hackworth <dylhack@gmail.com >
* editor(#1228 ): utilize current node or parentNode
Signed-off-by: Dylan Hackworth <dylhack@gmail.com >
Signed-off-by: Dylan Hackworth <dylhack@gmail.com >
2022-10-22 09:48:16 +05:00
Abdullah Atta
ae1e84a1ba
editor: remove webpackPrefetch & webpackPreload directives
2022-10-20 15:30:50 +05:00
Abdullah Atta
a45a6466e7
web: exclude code language chunks from service worker prefetch
2022-10-20 15:11:02 +05:00
Abdullah Atta
a1e5b572fe
editor: allow generating languages in CI
2022-10-20 14:17:36 +05:00
Abdullah Atta
236fc77a63
editor: update katex stylesheet
2022-10-20 14:08:41 +05:00
Abdullah Atta
0bd3310f23
editor: load prism lang grammars from local files
2022-10-20 14:08:41 +05:00
Abdullah Atta
7dbcea2663
editor: generate code languages in build step
2022-10-20 14:08:41 +05:00
Abdullah Atta
82f800e530
editor: install new patch for katex@0.16.2
2022-10-19 11:44:49 +05:00
Abdullah Atta
1d6f7b3e3e
global: remove all .npmrc files
2022-10-19 11:29:39 +05:00
Abdullah Atta
4b4cb1e826
editor: upgrade katex to 0.16.2
2022-10-19 11:18:20 +05:00
Abdullah Atta
d42f617d0f
core: fix md export for notes with codeblocks
2022-10-18 17:31:31 +05:00
Abdullah Atta
c3badf4846
editor: generate new patch for @tiptap/core
2022-10-18 10:23:47 +05:00
Abdullah Atta
a9dbe13112
editor: prevent Shift + Tab from moving focus from editor
...
This fixes #1213
2022-10-17 23:32:13 +05:00
Abdullah Atta
3ac3b1bcdb
global: update package-lock files
2022-10-17 23:08:39 +05:00
Abdullah Atta
5b213edae8
editor: skip Tab key handling inside tables
2022-10-17 23:04:48 +05:00
Abdullah Atta
e9a63fcf79
editor: don't create a new task list on drop at end
...
This overrides the default task item drop behavior to make dropping
items at the very end of the task list more reliable.
Currently, dropping the item at the end of the list creates a
new list which is often not what you want. We look for such
behavior and instead moves the item to the very end.
2022-10-14 17:49:53 +05:00
Abdullah Atta
5886c47d92
editor: update packages
2022-10-14 12:23:40 +05:00
Abdullah Atta
516bc75317
editor: allow indenting list items on tab press
2022-10-14 12:23:30 +05:00
Abdullah Atta
5db1a7b345
editor: allow tabbing inside editor
2022-10-13 19:23:26 +05:00
Abdullah Atta
6116daf9ba
editor: disable conversion of 2 single spaced lines into 1 double spaced line
2022-10-13 19:23:05 +05:00
Abdullah Atta
a47c98509d
editor: allow converting double spaced lines to single spaced
2022-10-13 19:23:05 +05:00
Abdullah Atta
9701a3d660
web: make table row toolbar vertical for compactness
2022-10-13 19:18:33 +05:00
Abdullah Atta
d2d269e4ca
editor: toggle only the clicked item if it's not selected
2022-10-12 15:16:29 +05:00
Abdullah Atta
b5843c24d4
editor: do not use shebang to execute build script
2022-10-06 13:19:44 +05:00
Abdullah Atta
ce889cf1c3
web: bump version to v2.2.1
2022-09-29 19:05:25 +05:00
Abdullah Atta
f69afd2d9a
editor: defer update propagation by 100ms
...
by default our editor sends an update "signal" on every single transaction.
This is oftentimes unnecessary. We can
improve the responsiveness by deferring this so multiple transactions cause
1 rerender.
2022-09-29 15:56:24 +05:00
Abdullah Atta
02459d759f
web: speed up word counting
...
Previously we moved to getting the `innerText` directly from the browser.
This was okay but it strained the browser quite a bit. Now we are moving
back to using `textBetween` since after some benchmarking the difference
in speed is minimal. It is possible
that there is a better alternative
specifically designed for prosemirror.
2022-09-29 15:56:24 +05:00
Abdullah Atta
69d48ce5c1
editor: menus not opening on web/desktop
2022-09-29 15:56:05 +05:00
Abdullah Atta
b3ea6523ae
global: set license prop of all package.json files to GPL-3.0-or-later
2022-09-26 15:30:16 +05:00
Abdullah Atta
47ac190a66
editor: use full date/time format instead of ISO8601
2022-09-19 20:40:20 +05:00
ammarahm-ed
275d2be5ac
Merge branch 'master' into feat-launcher-shortcut-actions
2022-09-19 12:33:26 +05:00
Abdullah Atta
0f99391205
editor: add p tag above the 1st node list on ArrowUp ( fixes #970 )
2022-09-16 15:01:49 +05:00
Abdullah Atta
9ed291102b
editor: lift empty first list item on backspace
...
This provides a way to create a paragraph before a list so it works like this:
1. Place cursor at the start of the first list item
2. Press enter to create a new item
3. Press backspace to turn it into a paragraph
This is actually how Google Docs works as well. Emtpy list item
becomes a paragraph on backspace.
2022-09-16 14:57:31 +05:00
Abdullah Atta
72b21139ce
editor: only count direct task list child for stats
2022-09-16 12:35:15 +05:00
Abdullah Atta
2a5005135c
editor: show list collapse toggle on hover in task list ( fixes #842 )
2022-09-16 12:32:05 +05:00
Abdullah Atta
8be748f62e
editor: update @tiptap/* packages
2022-09-16 12:15:39 +05:00
Ammar Ahmed
686b38ca87
editor: expose link opening logic to clients ( #969 )
2022-09-16 12:10:06 +05:00
Abdullah Atta
99b9dda47d
editor: make hr bigger & easily selectable ( fixes #847 )
2022-09-16 12:08:29 +05:00
Abdullah Atta
09130394de
editor: don't insert empty p tag before hr ( fixes #867 )
2022-09-16 12:07:29 +05:00
ammarahm-ed
f87d66f47a
mobile: add quick note actions
2022-09-14 13:28:07 +05:00
ammarahm-ed
df50ece50d
editor: don't open already opened popup again
2022-09-13 11:54:33 +05:00
ammarahm-ed
881771a14f
editor: fix clicking on link resets editor on mobile
2022-09-13 09:11:36 +05:00
ammarahm-ed
797670f2ef
editor: fix popups not opening
2022-09-13 09:10:35 +05:00
Abdullah Atta
4c1070af56
web: content overlaps on switching notes very fast
2022-09-08 23:57:13 +05:00
Abdullah Atta
ab38d89314
setup: use zx for cross-platform scripting
2022-09-07 23:04:40 +05:00