Commit Graph

8 Commits

Author SHA1 Message Date
Tom Moor
cd4f3f9ff2 Use inline content disposition for common images and PDFs (#6924)
* Use inline content disposition for common images and PDFs

* Add double-click on widgets to download
2024-05-18 09:17:04 -07:00
Tom Moor
4ddb5c3eed feat: Add option to replace existing file attachment in editor 2024-01-21 11:52:20 -05:00
Tom Moor
a75d6b298e fix: Sanitize url missing in editor embeds and widgets 2023-07-06 21:38:02 -04:00
Tom Moor
25ae923130 fix: Cannot drag attachment without selecting first
closes #5040
2023-06-19 20:20:32 -04:00
Tom Moor
422bdc32d9 Add 's' method to access theme props (#5163) 2023-04-07 19:43:34 -07:00
Tom Moor
c71cbf39f5 Open downloads in the same tab 2023-04-04 21:38:30 -04:00
Tom Moor
80be26b2de fix: Border of file attachment not rounded in Safari (outline -> box shadow) 2022-03-06 21:56:52 -08: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