Froala Documentation
- Installation Guides
- Browser Support
- Languages Support
- Shortcuts
- Activation
- Examples
- Customize the Editor
- Use-cases
- Plugins
- APIs
- Development Frameworks
- Server Integrations
- Server SDKs
- Migration Guides
- Changelog
- Tutorials
- Froala Docs
- /
- Plugins
- /
- Lists Plugin
Lists Plugin
Plugins are fully functional during your trial once you've added your trial key to the setup.
Allows users to insert lists in the editor, not just the basic lists like numbers and bullets but also advanced types such as lower greek or upper roman.
Plugin options:
| listAdvancedTypes Boolean - |
Enables list advanced types for the bullets.
Default: true |
Plugin methods:
| lists.format (tag_name) returns: Object |
Format the selected paragraphs as a list.
โ Tag_name: The type of the list to format. Possible values are: OL and UL. Type: String |
Commands:
| formatOL | Triggered when insertOrderedList command is executed. |
| formatUL | Triggered when insertUnorderedList command is executed. |
Add Plugin to your code:
Plugin name: lists
Plugin JS Script: ../js/plugins/lists.min.js
Or from CDN https://cdn.jsdelivr.net/npm/froala-editor@latest/js/plugins/lists.min.js
Plugin CSS link:
