如何解决Mathquill - \MathQuillMathField 命令在使用 latex() 解析器后被删除
我通过用户对 MathField 的操作动态使用 group_by
命令
示例
\mathquillMathField
但是 mathFieldSpan = document.getElementById('math-field');
fillInTheBlank = document.getElementById('fill-in-the-blank')
mathField = MQ.MathField(mathFieldSpan);
fillInTheBlank = MQ.StaticMath(document.getElementById('fill-in-the-blank'));
//add new input field with ```\mathquillMathField``` command to the mathField object.
function mathFieldBtn() {
mathField.write('\\mathquillMathField{}');
}
//display the received math input in static mathquill element - fillInTheBlank
function save() {
fillInTheBlank.latex(mathField.latex());
}
在运行 \mathquillMathField
方法后被移除
如何动态保存空字段 (mathField.latex()
) 并将其显示在 staticMath 对象中?
我的目标是在静态数学表达式中允许部分输入(例如让学生填写答案)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。