Is there a way ( except Rangy library ) to change contentEditable Div InnerHTML on the fly, like on keyup, with no cursor position / focus lose? I\'d like to use pure javascript
If you're replacing the HTML, you will need some means of saving and restoring your selection. The options are: