Save embedded images as attachments to note
... instead of inline base64, as it seems to be more appropriate.
- Use contentID to uniquely identify them in the note html code (i.e.
<img src="cid:XXX@KDE" />
); - When saving, use
RichTextComposerImages
routines to obtain contentIDs and to replaceimg src
tocid:...
- When loading, use
QTextDocument::addResource
to makeQTextDocument
recognize attachments
Depends on akonadi-notes!1 (merged)
Edited by Igor Poboiko