Lit Html Editor
Rich text editor built with Lit based on this example.
You can try the demo here!
This used the contenteditable property that browsers support for full document editing and text formatting.
There is also an example on the Lit playground here.