All you need is contenteditable
and execCommand
. The JavaScript essence of the editor is just a few lines of code. Oh, how things have changed over the years.
A rather geeky/technical weblog, est. 2001, by Bramus
All you need is contenteditable
and execCommand
. The JavaScript essence of the editor is just a few lines of code. Oh, how things have changed over the years.
Thanks for including this post on my site! Very much appreciated!