whistle-editor:哨声编辑

时间:2024-04-15 05:43:36
【文件属性】:

文件名称:whistle-editor:哨声编辑

文件大小:17KB

文件格式:ZIP

更新时间:2024-04-15 05:43:36

JavaScript

口哨编辑 本模块是whistle编辑器的React组件,可以作为whistle规则及其值编辑器。 安装 npm i -D whistle-editor 用法 import React from 'react' ; import ReactDOM from 'react-dom' ; import Editor from 'whistle-editor' ; const plugins = { 'whistle.test' : 'http://123' , share : 0 , } ; const onChange = ( e ) => { console . log ( e . getValue ( ) ) ; } ; const editor = ( < Editor value = "test" fontSize = "16px" theme


【文件预览】:
whistle-editor-master
----.eslintrc(39B)
----src()
--------index.css(285B)
--------protocols.js(3KB)
--------rules-mode.js(8KB)
--------index.js(10KB)
--------rules-hint.js(7KB)
----.babelrc(178B)
----.npmignore(670B)
----LICENSE(1KB)
----test()
--------test.js(508B)
--------test.html(248B)
----README.md(2KB)
----index.d.ts(834B)
----webpack()
--------webpack.dev.js(717B)
--------webpack.prod.js(712B)
--------webpack.common.js(1KB)
----.editorconfig(292B)
----.gitignore(643B)
----.eslintignore(14B)
----package.json(1KB)

网友评论