react-mathquill
react-mathquill copied to clipboard
Embed Editable Math Fields Inside Static Math
Does this wrapper currently allow for the embedding of editable math fields inside static math fields?
Similar to this example in Mathquill's docs using \MathQuillMathField:
<span id="fill-in-the-blank">\sqrt{ \MathQuillMathField{x}^2 + \MathQuillMathField{y}^2 }</span>
<script>
var fillInTheBlank = MQ.StaticMath(document.getElementById('fill-in-the-blank'));
fillInTheBlank.innerFields[0].latex() // => 'x'
fillInTheBlank.innerFields[1].latex() // => 'y'
</script>