While trying to use the rich-text-editor with the € symbol, it breaks the code .
To reproduce this:
- Open the demo site: http://digabi.github.io/rich-text-editor/
- Focus the input box
- Use the Ctrl+E shortcut (or click the "Lisää kaava" button on the toolbar)
- Enter the "€" symbol
- Check the console for error "Uncaught TypeError: Cannot read properties of null (reading '4')"