This fixes an issue where, when typing inside an instance of the Monaco Editor, the whitespaces at the beginning of the values which are only used as indenting, were being interpreted as text nodes.
👩💻 Reviewer Notes
Try typing in the Monaco Editor, this should no longer show as multiple elements and empty text nodes.
✅ Checklist
General
[ ] I have added tests for my changes.
[x] I have tested my changes.
[ ] I have updated the project documentation to reflect my changes.
Pull Request
📖 Description
This fixes an issue where, when typing inside an instance of the Monaco Editor, the whitespaces at the beginning of the values which are only used as indenting, were being interpreted as text nodes.
👩💻 Reviewer Notes
Try typing in the Monaco Editor, this should no longer show as multiple elements and empty text nodes.
✅ Checklist
General