how to save text editor changes in web application code example Example: how to edit web pages like a document using console document.body.contentEditable=true