0.0.18 • Published 3 years ago

@kukefess/kkeditor-mathml v0.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

@kukefe/kkeditor-mathml

基于 ckeditor5 的数学公式插件

目前只实现了复制 word 内容解析成 svg 在编辑器中显示,解析过程 omml -》mathml -》svg

本地调试

// 执行一个脚本
lerna exec --scope @kukefe/kkeditor-mathml -- yarn run start
或
// 执行 npm 命令
lerna run --scope @kukefe/kkeditor-mathml start

使用方式

// 引入数学公式解析
import { MathML, MathmlParser } from '@kukefe/kkeditor-mathml'

// 创建编辑器在 plugins 中引入插件
ClassicEditor
    .create( document.querySelector( '#editor' ), {
        plugins: [ MathML, MathmlParser, ... ],
        toolbar: [ ... ],
0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago