- Getting Started
- Browser Support
- Languages Support
- Shortcuts
- Activation
- Examples
- Customize the Editor
- Use-cases
- Plugins
- APIs
- Development Frameworks
- Server Integrations
- Server SDKs
- Migration Guides
- Changelog
- Tutorials
Line Height Plugin
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: