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
5b60f1ab00
tsc
2023-01-05 21:25:17 -05:00
Tom Moor
3d6da26ad6
fix: Flash of external link decoration when creating doc from selected text
2022-12-04 17:41:19 -05:00
Tom Moor
e00e3e232a
fix: Hard to select text in link editor input
2022-10-23 13:43:22 -04:00
Tom Moor
ec748f9914
fix: Floating toolbar should not appear until mouseup when selecting with mouse
...
closes #3564
2022-05-21 12:57:29 +01:00
Tom Moor
f23f0d57de
fix: Link editor should reset when selection changes
...
closes #3362
2022-04-13 08:55:43 -07:00
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
忽如寄
9f400af73b
refactor: ♻️ refactor isHosted && type clean up ( #3290 )
...
* refactor: ♻️ refactor isHosted && type clean up
Change-Id: I4dfbad8a07607432801de78920ce42bf81e46498
* refactor: ♻️ code clean up
Change-Id: I8f487a33d332a2acaff84397a97371b56ace28a1
* feat: 💄 lint
Change-Id: I776b1a5e249bdb542f8e6da7cb2277821cf91094
* feat: ✨ ci type
Change-Id: I486dde7bf60321238e9a394c40ad8cdb8bfc54c8
* feat: some code sugession
Change-Id: I4761d057344b95a98e99068d312a42292977875b
2022-03-27 15:18:37 -07:00
Tom Moor
631d600920
feat: File attachments ( #3031 )
...
* stash
* refactor, working in non-collab + collab editor
* attachment styling
* Avoid crypto require in browser
* AttachmentIcon, handling unknown types
* Do not allow attachment creation for file sizes over limit
* Allow image as file attachment
* Upload placeholder styling
* lint
* Refactor: Do not use placeholder for file attachmentuploads
* Add loading spinner
* fix: Extra paragraphs around attachments on insert
* Bump editor
* fix build error
* Remove attachment placeholder when upload fails
* Remove unused styles
* fix: Attachments on shared pages
* Merge fixes
2022-03-06 13:58:58 -08:00
Tom Moor
f4af702492
lint
2022-02-11 18:55:39 -08:00
Tom Moor
4255dd24da
editor: Open link toolbar automatically when editable and link in selection
2022-02-11 18:34:56 -08:00
Tom Moor
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Tom Moor
e8c88b3c33
fix: Flash of content when selecting text on RHS of document ( #2981 )
...
fix: Double portal
2022-01-22 18:10:23 -08:00
Tom Moor
062016b164
chore: Move editor into codebase ( #2930 )
2022-01-19 18:43:15 -08:00