File Upload Questions #988
-
First of all thank you for such amazing markdown editor and preview, and plugin design mindset! I looked at your file upload plugin documentation, and tried the playground. Could you please tell me more about the features the file upload plugin has? I assume it supports drag and drop, and also copy and paste to upload to dedicated cloud storage? And does it have a toolbar button on the top where user could click to upload the file from local drives? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I believe you need to implementing it by yourself. We did it and it's pretty simple :) You just need to call: editor.action(insertImageCommand.key, { src: source }) when saving the image. Here is simple demo, where you may upload a file via menu bar - https://daredata.github.io/notion-style-editor/ |
Beta Was this translation helpful? Give feedback.
@ZehuaZhang
I believe you need to implementing it by yourself. We did it and it's pretty simple :) You just need to call:
when saving the image.
Here is simple demo, where you may upload a file via menu bar - https://daredata.github.io/notion-style-editor/