Test file for testing two different methods to extract the inner text (including return characters) from and editable div.
(For more testing, just start entering text, deleting text, copying/pasting text, etc...)
(typical content per browser, after some entering text and cutting/pasting within the editable div)
editable div | traverse | regex | innerHTML |
---|---|---|---|