commajs
Lists
Introduction
This plugin adds support for ordered and unordered lists.
Installation
npm install commajs-lists
In commajs-core options add:
import CommaLists from "commajs-lists";

options = {
    ...,                
    plugins: [
        ...,
        { pClass: CommaLists },
    ]
}
Usage
To add a list to a document:
commajsInstance.InsertPluginAtSection(CommaLists.GetName(), "ordered"); //or unordered
If text is selected by the user on the document while invoking .InsertPluginAtSection, CommaLists will convert each line in an item of the list.
For ordered lists, right clicking on a number will open a panel to edit the start number of the list.
 
© 2020 Plugg, Inc. All rights reserved. Various trademarks held by their respective owners.
Plugg, Inc. - San Francisco, CA 94114, United States