I am working with content editors (medium-editor specifically) that use contentEditable but are not in React. I have a use-case where someone can drag and drop images, or I can insert images. My question is instead of adding the following to the html of the editor:
editorHtml += '<img src ="something />'
I would ideally like to add a React component.
editorHtml += '<CoverImage src="something" />'
In other words, can React Components be added to contentEditable or innerHtml of html elements outside of React Components?