But with HTML5's introduction of the contenteditable global attribute, creating a WYSIWYG editor can be much simpler. Actually, I should mention that the contenteditable attribute has been supported by most major browsers for quite some time. And now it looks like it will be included in the HTML5 specification (which is currently in draft status at the time of writing). Anyway, let's look at

8 Sep 2018 Make a HTML element editable with `contenteditable` ✨ Apply the ` contenteditable` attribute and you can edit it similar to or