Open janwirth opened 6 years ago
Currently the editor renders to plain HTML elements which theoretically gives the editor more control over the state like cursor position and selection. I didn't use contenteditable because browser support has been an issue in the past, and it would require ports to interact with the imperative API of the contenteditable.
But perhaps contenteditable could be a render target in the future. You're welcome to experiment with that yourself, if you'd like!
Very cool stuff from the lab you have there.
Is it possible to adapt your solution so that any element can be made content editable? That means basic selection, insert, delete, select, copy and paste operations. The buffer should be rendered to an html element with a non-fixed with font.