用于React应用程序的方程式编辑器 由( ) 演示版 要查看此软件包的实际效果,请观看演示。 可以键入方程式,并在粉红色的编辑器下方看到LaTeX中的输出。 用法 将EquationEditor组件嵌入到项目中时,必须设置四个属性。 value和onChange可以说明一切,而包含一个命令列表,您只需在命令前面键入\ 。 也一样,运算符也一样。 import React , { useState } from "react" ; import EquationEditor from "equation-editor-react" ; const Example = ( ) => { const [ equation , setEquation ] = useState ( "y=x" ) ; console . log ( equation ) ; return ( < EquationEditor value = { equation } onChange = { setEquation } autoCommands =
2021-10-10 10:54:02 382KB demo typescript latex math
1
用于React组件包装器 例子 位于src/examples/ 在此使用以下示例 可编辑的数学字段 import React , { useState } from 'react' import { addStyles , EditableMathField } from 'react-mathquill' // inserts the required css to the <head> block. // you can skip this, if you want to do that by yourself. addStyles ( ) const EditableMathExample = ( ) => { const [ latex , setLatex ] = useState ( '\\frac{1}{\\sqrt{2}}\\cdot 2' ) return ( < EditableMathField latex = { latex } onChange = { ( mathField ) =
2021-10-09 11:42:46 100KB react latex math react-component
1
数学公式编辑器,完整demo及源码, mathquill code 转换为可视化 html,在由 html 转换为 mathquill code 有时间可以看下
2021-06-22 14:15:20 5.63MB mathquill
1
数学公式编辑器,完整demo及源码, mathquill code 转换为可视化 html,在由 html 转换为 mathquill code 有时间可以看下
2021-04-10 11:07:24 5.95MB javascript ueditor math mathquill
1
微信小程序:使用Towxml解析ckeditor文本编辑器中mathquill数学公式
2021-03-31 14:09:26 1.87MB 微信小程序 towxml mathquill