【文件属性】:
文件名称:nested-list
文件大小:162KB
文件格式:ZIP
更新时间:2021-03-19 21:03:27
JavaScript
用于Editor.js的嵌套列表工具
多级列表。
使用Tab和Shift+Tab键可创建或删除带有填充的子列表。
安装
通过NPM安装
取得包裹
npm i --save @editorjs/nested-list
或者
yarn add @editorjs/nested-list
在您的应用程序中包含模块
import NestedList from '@editorjs/nested-list' ;
从CDN加载
从加载脚本并连接到页面。
< script src =" https://cdn.jsdelivr.net/npm/@editorjs/nested-list@latest " > </ script >
用法
将NestedList Tool添加到Editor.js初始配置的tools属性中。
import EditorJS from '@editorjs/editor
【文件预览】:
nested-list-main
----example()
--------assets()
--------example.html(13KB)
----package.json(646B)
----.github()
--------workflows()
----assets()
--------example.gif(30KB)
----src()
--------index.js(21KB)
--------utils()
----.npmignore(48B)
----.gitignore(52B)
----webpack.config.js(751B)
----styles()
--------index.pcss(777B)
----README.md(2KB)
----yarn.lock(54KB)