I'm now integrating Trumbowyg editor into react project.
const [content, setContent] = useState();
return (
<Trumbowyg
onChange={e => setContent(e.target.innerHTML)}
data={content}
/>
)
But for every keypress event, the cursor moves to the start position, so the content becomes reversed
I typed "start", but they are in reversed order, you see.

You dont need to pass
contenttoTrumbowyg, just remove it