Hey,inspired by the canvas based editor I found yesterday, I created this little demo. It uses Canvas elements for the footnotes. The good thing about those is that they are html stub elements, which means that one doesn't need any keystroke interception to make Chromium and Firefox work correctly in concerns of deleting them, etc.
However, you will notice that firefox doesn't move the cursor quite correctly and that it's impossibel to go beyond the last element. So som key stroke interception would still have to take place, even with this hack.To see this example in action: open the file in Chromium or firefox. Click on the text so that the cursor shows, and move it back and forth through the text. Then delete one or several of the footnotes with backspace or delete in the body and notice how the footnote disappears.Check it out and let me know what you think!--Johannes WilmBookJS DeveloperUS: +1 520 399 8880skype: johanneswilm
As far as the display part of the citation management system that fidus writer has, I would currently also say that it should switch to this approach. It means however that citations cannot go over line breaks. Takuto, the FW developer, would know if that is a problem, but I don't think it should be.
I am a little less certain about equations/mathjax. They have an SVG output option, but I haven't investigated more in that direction. I don't know if the cursor behaves the same with SVGs as with IMGs.
An issue that needs to be resolved would have to be how copying to another app would work. One would likely need to do the same as Google Docs, intercept the event, copy stuff off-screen, etc. .