Tom Moor
5397907599
chore: Refactor upload placeholder ( #5898 )
2023-09-28 20:13:40 -07:00
Tom Moor
f4fd9dae5f
feat: Native video display ( #5866 )
2023-09-28 17:28:09 -07:00
Tom Moor
d2fcd1dee6
fix: Skip unsupported node types when uploading
...
closes #5544
2023-07-30 15:52:08 -04:00
Tom Moor
cf32d227e6
fix: Error loading image: [object Event]
2023-07-08 13:57:25 -04:00
Tom Moor
b0da3b7cab
fix: Throwing event as error
2023-04-24 23:35:46 -04:00
Tom Moor
49d903d6d4
chore: Remove console.log left in code and added eslint rule to prevent it happening again
2023-04-11 22:15:52 -04:00
Tom Moor
1be1371171
Add image resizing to history stack (allow undo)
...
Remove placeholder SVG when main image is loaded
2023-04-02 09:19:09 -04:00
Tom Moor
fcc89be622
fix: File uploads can remove document closeby document content, closes #5097
2023-03-28 20:47:34 -04:00
Tom Moor
e90e111139
fix: Cannot upload multiple files at once from editor command menu ( #4957 )
2023-02-28 16:52:07 -08:00
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
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
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