mathquill4quill
mathquill4quill copied to clipboard
Non commands as button values issue
Looked at this previous issue - #39
For example ['\dot{a}', '\dot{a}'] only works with myField.cmd instead of myField.write and the {a} needs to be on both otherwise it doesn't print anything. But doing so you can't edit what's in the curly brackets
This is what prints out in the text area - It doesn't convert to a preview either
This is what the output is when it's saved which is correct
Further testing done and found that React version works differently than the regular Javascript/HTML version. This seems to be the main issue in why it's not rendering the commands properly.
React - https://justamouse.com/mathquill4quill/reactjs/
Typing '\dot' and then hitting enter returns just 'dot'
HTML/Javascript - https://justamouse.com/mathquill4quill/
Typing the above and hitting enter displays the the actual output with curser set to below the dot where you can enter a character
Tested on Javascript/HTML version and the non command button works just fine