Open 1nsp1r3rnzt opened 6 years ago
Hey @1nsp1r3rnzt this project is awesome, thank you! I don't know if you're still planning on tackling this particular feature, but I would find it most helpful -- so much so that I may be willing to put in some effort to make it happen if my skills happen to align.
Did you manage to make any progress on this feature, and is the above still an accurate representation of the body of work you think is required to make it happen?
This idea is by brumar Currently, images are not supported and selected text is cleaned while adding from chrome menu.
The goal is to allow user to send image along with text.
Images
If you drag and drop an image, it is base64 encoded by the medium editor and displayed as![]()
concept
Adding images to Anki
Anki stores all images in media folder and these are sent in a separate request using ankiConnect. The sample request is
The result is standard like any other request to ankiConnect.
process
Before Submitting data.
If successful, replace the image source in the note with the filename else delete the image from note body.