Here you can try out the block editor mentioned in [Experimenting with Block Editors] with math (LaTeX) support integrated.

The Load and Save buttons can be used to save the editor content to local storage.

To write math content, you can for example simply type $x_1$ and edit the appearing inline math or use the slash \ menu to add a math block.