Tom Moor
fde053ebc8
fix: Add stricter validation around image file type uploads ( #3324 )
...
* fix: Add stricter validation around image file type uploads
* revert backend restrictions, we want to allow unsupported images as file attachments
2022-04-01 19:26:27 -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
203980c845
fix: ARIA fixes, missing button labels
2022-03-16 23:41:06 -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
25568c101c
improves: Make command menu larger, darken toolbar, order image + link higher up menu
2022-02-10 20:15:28 -08:00
Tom Moor
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Tom Moor
175857753e
fix: Bag 'o fixes
...
Remove menu hover styles on mobile
Fixed duplicate hover+active behavior on editor menus
Fixed editor menus visibly scroll to the top when reopened
Fixed some minor editor spacing issues
Renamed shred routeHelpers -> urlHelpers
2022-01-25 23:43:11 -08:00
Tom Moor
062016b164
chore: Move editor into codebase ( #2930 )
2022-01-19 18:43:15 -08:00