Skip to main content


Today I'm refactoring our rich text editor component for #Matrix. I have in mind a 3-layer structure:

* high level operations like "bold"
* medium level that preserves all the invariants (e.g. no adjacent text nodes)
* low level that does simple things like add/delete a node and does not preserve invariants

It's all happening over here: github.com/matrix-org/matrix-r…