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
- /
- Line Height Plugin
Line Height Plugin
Plugins are fully functional during your trial once you've added your trial key to the setup.
Allows users to select the line height for the current selected paragraph.
Plugin options:
| lineHeights Object - |
Set the line height for the current selected paragraph.
Default: { Default: '', Single: '1', '1.15': '1.15', '1.5': '1.5', Double: '2' } |
Plugin methods:
| lineHeight.apply (value) returns: Object |
Apply the given line height to selected text.
โ value: The value of the line height to apply. Type: String |
Add Plugin to your code:
Plugin name: lineHeight
Plugin JS Script: ../js/plugins/line_height.min.js
Or from CDN https://cdn.jsdelivr.net/npm/froala-editor@latest/js/plugins/line_height.min.js
Plugin CSS link:
