Skip to main content

Line Height

The line height plugin enables support for line height. You can use it to set the line height for the selected element as required.

Installation#

npm install @udecode/plate-line-height
npm install @udecode/plate-line-height-ui

Usage#

Click inside a paragraph or a header and click on a toolbar button to apply the desired line height.

Live Editor
Result

Source Code#