react-mathquill icon indicating copy to clipboard operation
react-mathquill copied to clipboard

Embed Editable Math Fields Inside Static Math

Open zacharywilkerson opened this issue 8 months ago • 0 comments

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>

zacharywilkerson avatar Jun 19 '24 00:06 zacharywilkerson