Tom Moor
5e17b24869
feat: Image resizing ( #4368 )
...
* wip
* works
* wip
* refactor
* Support replacing image and retain width
fix: Copy paste does not retain size
* cleanup
* fix: Cannot resize past 100%
fix: Borders to edges on unresized images
* Handle Escape key while dragging
* fix: Embeds and images dont render when edit state changes
fix: Small animation regression
2022-11-02 18:40:37 -07:00
Tom Moor
caaf6dd76b
fix: Enter at beginning of collapsed heading should create a new heading above ( #3754 )
2022-07-09 02:23:12 -07:00
Tom Moor
e49897ab5a
fix: Account for rare case where file.name is unavailable
2022-04-25 21:13:06 -07:00
Tom Moor
cf58d8e3e1
fix: Capture drop events in clickable padding below editor ( #3376 )
...
* fix: Capture drop events in clickable padding below editor
* fix: Inconsistency in drop handling
2022-04-15 09:03:25 -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
Tom Moor
8aa25fd7d6
fix: Add ability to convert between checklist and other types of list
2022-03-23 07:57:58 -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
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Tom Moor
062016b164
chore: Move editor into codebase ( #2930 )
2022-01-19 18:43:15 -08:00