JMEditor(Javascr ipt Math Editor)是基于CKEditor、jQuery、mathquill等组件开发的,轻量级、开放源代码、所见即所得、无任何插件的在线公式编辑器。CKEditor与jQuery应用的十分广泛,不再过多介绍。需要指出的是mathquill,使用html+css+js实现公式编辑的效果,他把dom的力量发挥到了极致。
JMEditor(Javascr ipt Math Editor)是基于CKEditor、jQuery、mathquill等组件开发的,轻量级、开放源代码、所见即所得、无任何插件的在线公式编辑器。CKEditor与jQuery应用的十分广泛,不再过多介绍。需要指出的是mathquill,使用html+css+js实现公式编辑的效
用于React组件包装器
例子
位于src/examples/
在此使用以下示例
可编辑的数学字段
import React , { useState } from 'react'
import { addStyles , EditableMathField } from 'react-mathquill'
// inserts the required css to the block.
// you can skip this, if you want to do that by you
MathQuill 4鹅毛笔
这是什么?
该模块将对丰富的数学创作的支持添加到“编辑器中。
使用范例
纯Javascr ipt
该模块取决于 , 和 ,因此除了添加对mathquill4quill.js和mathquill4quill.css的引用之外,您还需要添加对其JS和CSS文件的引用。 官方版本以及缩小的资产都可以在上找到。
接下来,初始化您的Quill对象并加载公式模块:
// setup quill with formula support
var quill = new Q