【文件属性】:
文件名称:paragraph-with-alignment:Editor.js 2.0的段落工具
文件大小:239KB
文件格式:ZIP
更新时间:2021-05-01 10:58:00
JavaScript
带有针对Editor.js对齐的段落工具
如果您可以提供帮助,请按“星号”按钮:)
如果要向另一个块添加路线
这很有用的
版本
版本
描述
@ 2.x
支持左/中/右对齐
@ 3.x
支持左/中/右/对齐
安装
通过NPM安装
取得包裹
npm i --save editorjs-paragraph-with-alignment@3.x
在您的应用程序中包含模块
const Paragraph = require ( 'editorjs-paragraph-with-alignment' ) ;
下载到项目的源目录
从存储库上传文件夹dist
将dist/bundle.js文件添加到您的页面。
从CDN加载
https://cdn.jsdelivr.net/npm/editorjs-paragraph-with-alignment@3.0.0
用法
默认情况下,paragraph
【文件预览】:
paragraph-with-alignment-master
----.gitignore(46B)
----README.md(2KB)
----.github()
--------workflows()
----yarn-error.log(173KB)
----LICENSE(1KB)
----package.json(1KB)
----dist()
--------bundle.js(13KB)
----src()
--------index.css(1KB)
--------toolbox-icon.svg(540B)
--------index.js(11KB)
----example()
--------example-dev.html(4KB)
--------assets()
----.npmignore(40B)
----webpack.config.js(714B)
----yarn.lock(174KB)