I'd like to create my own RichText Editor in HTML/JS like so :
https://www.youtube.com/watch?v=cOeTHVlFDYs
But according to the MDN, document.execCommand is now deprecated (https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand), so how to proceed ?
Thanks in advance for your answer