math_keyboard
math_keyboard copied to clipboard
Why does buildTeXString have a cursorColor property?
Bug description
node.buildTeXString() seems to have a cursorColor property, but it really shouldn't need one. All it does is append something like \textcolor{#000000}{\cursor}
to the end of tex string, and it seems to break loading it back into the MathField document
To Reproduce
Steps to reproduce the behavior: Get a MathFieldEditingController and call .currentNode.buildTexString() and try to load the string back in
Expected behavior
No cursorColor attribute, loading back in without changes
also it seems like parsing it back in adds brackets every time to the end, is that intended behaviour?