List Tool for CodeX Editor
This Tool for the CodeX Editor allows you to add ordered or unordered (bulleted) lists to your article.
Installation
Install via NPM
Get the package
npm i --save-dev codex.editor.list
Include module at your application
const List = ;
Download to your project's source dir
- Upload folder
dist
from repository - Add
dist/bundle.js
file to your page.
Load from CDN
You can load specific version of package from jsDelivr CDN.
https://cdn.jsdelivr.net/npm/codex.editor.list@1.0.2
Then require this script on page with CodeX Editor.
Usage
Add a new Tool to the tools
property of the CodeX Editor initial config.
var editor = ;
Config Params
This Tool has no config params
Tool's settings
You can choose list`s type.
Output data
Field | Type | Description |
---|---|---|
style | string |
type of list: ordered or unordered |
items | string[] |
array of list's items |
,