Tom Moor
4182cbd5d0
chore: Refactoring some editor controls ( #5023 )
...
* Refactor EmojiMenu
* Refactor CommandMenu to functional component
* Remove more direct props, refactor to useEditor
* Remove hardcoded IDs
* Refactor SelectionToolbar to functional component
* fix: Positioning of suggestion menu on long paragraphs
2023-03-13 18:05:06 -07:00
Tom Moor
c4006cef7b
perf: Remove markdown serialize from editor render path ( #3567 )
...
* perf: Remove markdown serialize from editor render path
* fix: Simplify heading equality check
* perf: Add cache for slugified headings
* tsc
2022-05-21 12:50:27 -07:00
Tom Moor
b75a6928cb
Revert "fix: Fade out navigation when editing and mouse hasn't moved ( #3256 )" ( #3502 )
...
This reverts commit e0cf873a36 .
2022-05-06 13:28:37 -07:00
Saumya Pandey
e0cf873a36
fix: Fade out navigation when editing and mouse hasn't moved ( #3256 )
...
* fix: hide header when editing
* fix: settings collab switch
* Update app/hooks/useMouseMove.ts
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* fix: accept timeout parameter
* fix: don't hide observing banner
* fix: hide on focused and observing
* perf: memo
* hide References too
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-05-07 00:17:09 +05:30
Tom Moor
6f2a4488e8
chore: Editor refactor ( #3286 )
...
* cleanup
* add context
* EventEmitter allows removal of toolbar props from extensions
* Move to 'packages' of extensions
Remove EmojiTrigger extension
* types
* iteration
* fix render flashing
* fix: Missing nodes in collection descriptions
2022-03-30 19:10:34 -07:00
Tom Moor
062016b164
chore: Move editor into codebase ( #2930 )
2022-01-19 18:43:15 -08:00