【文件属性】:
文件名称:crayon-editor:手机H5编辑器
文件大小:856KB
文件格式:ZIP
更新时间:2021-05-06 11:32:07
HTML
Crayon Editor
轻量级段落富文本编辑器,于传统的富文本编辑器不同的事,用户只能对选中的段落进行编辑,
这非常符合手机端轻编辑需求。
安装
npm install crayon-editor
// or
yarn add crayon-editor
使用
import Crayon from '../../editor'
const editor = new Crayon({
id: 'editor-content',
plugins: [
'edit',
'del',
'auto-save',
'insert-img',
'rotate-img'
]
})
【文件预览】:
crayon-editor-master
----.gitignore(221B)
----.babelrc(232B)
----package.json(1KB)
----editor()
--------images()
--------core()
--------index.js(1007B)
--------utils.js(3KB)
--------constant.js(779B)
--------plugins()
----webpack()
--------build.js(1KB)
--------dev-vue.js(2KB)
----_book()
--------guide()
--------life-cycle()
--------search_index.json(99KB)
--------plugin()
--------index.html(13KB)
--------gitbook()
----README.md(515B)
----book.json(110B)
----example()
--------vue()
--------plugins()
----docs()
--------guide()
--------life-cycle()
--------README.md(411B)
--------plugin()
--------SUMMARY.md(748B)
----yarn.lock(231KB)