Use Case
- Readability - Increase spacing for easier reading
- Academic requirements - Double spacing for papers and theses
- Accessibility - Better spacing helps users with dyslexia
- Design control - Match brand guidelines or style requirements
Options
Configure the extension behavior:Block types to add line height support to
Default configuration
Default unit for line height values
Attributes
Node attributes that can be set and retrieved:Line height value
Commands
setLineHeight
Set line height for blocks
Applies to paragraphs and headings
Line height to apply
unsetLineHeight
Remove line height
Reverts to default line spacing