I've been using execCommand for about 6 years to insert emojis and add bold, italics, underlines, and font styling to text entered by users in a contentEditable.
And today, I learned that it's been deprecated :-/
[
developer.mozilla.org...]
It suggests using ClipboardApi instead, but that doesn't appear to offer anything like insertHTML, bold, italics, underline, and font styling.
Any thoughts on a replacement?