Controlled input, onInput event, e.target.innerHTML, and more — I worked for several weeks on a feature involving the use of a content-editable element in React. During this time I learned a few things regarding the usage of such an element, and I will share these lessons learned in this post. In HTML, elements can be editable. This approach…