Content
View differences
Updated by Judith Roth 7 months ago
As a user editing a document
I want to be able to drag a file in the editor to upload and inline use it.
### Acceptance Criteria
###
* When a user drags a file onto the blocknote editor, it is uploaded and used
* A user is able to upload an image and embed a file in the blocknote editor
###
###
#### Not part of this (tackled elsewhere):
* Make files that are uploaded appear in the "Files" Tab (this is handeled in <mention class="mention" data-id="67424" data-type="work_package" data-text="#67424">#67424</mention> )
* Make files block in the Blocknote Editor look nice (this is handeled in <mention class="mention" data-id="67740" data-type="work_package" data-text="#67740">#67740</mention> )
<br>
TODO:
* [x] Implement file upload to server flow
* [x] Add dev docker MinIO setup
* [x] Implement file upload to external storage flow
* [ ] Error handling (when user tries to upload a file type that is not whitelisted)
* [ ] Clean up Code
* [x] [ ] Check if the prepare flow also works for the upload to the server (Answer: No, needs refactoring)
* [ ] Add Tests
I want to be able to drag a file in the editor to upload and inline use it.
### Acceptance Criteria
###
* When a user drags a file onto the blocknote editor, it is uploaded and used
* A user is able to upload an image and embed a file in the blocknote editor
###
###
#### Not part of this (tackled elsewhere):
* Make files that are uploaded appear in the "Files" Tab (this is handeled in <mention class="mention" data-id="67424" data-type="work_package" data-text="#67424">#67424</mention> )
* Make files block in the Blocknote Editor look nice (this is handeled in <mention class="mention" data-id="67740" data-type="work_package" data-text="#67740">#67740</mention> )
<br>
TODO:
* [x] Implement file upload to server flow
* [x] Add dev docker MinIO setup
* [x] Implement file upload to external storage flow
* [ ] Error handling (when user tries to upload a file type that is not whitelisted)
* [ ] Clean up Code
* [x]
* [ ] Add Tests