Here is one hypothetical solution outline:
If this issue was solved, i.e to have a transparent background on the drawing canvas, then it should be possible to place some “tag” in the text, e.g like this <doodle>
(or a macrocall or widgetcall or whatever) and it could be directly “interpreted” to trigger a little drawing canvas in front of the text even in edit mode.