Behoben Documents

Words typed into an emptied document are saved

Fixed: after Select all and Delete in a document, what was typed next could show Save failed and not be saved. It is saved now, with the caret kept where it was.

Fixed: after selecting everything in a document and deleting it, some browsers put the next words typed straight onto the page rather than into a paragraph. The editor then showed Save failed with a message about a caret, and those words were not saved. The editor now puts such words into a paragraph as they are typed, saves them, and keeps the caret where it was when the save comes back.