Closed Brand3000 closed 4 months ago
Hi @Brand3000,
As far as I know, there isn't a specific tool in the CKEditor5 toolbar items for line-height
. However, you can achieve a similar effect by combining the fontSize
tool with line-height
. (And I think it might be reasonable, considering that most frameworks provide typography utility classes that include font-size, font-weight, and line-height).
When you add a font-size to the fontSize list, CKEditor adds a class to the text based on the font-size name (e.g., text-big
for big
). You can leverage this to set the line-height for each text in your CSS styles.
Hi! I'm sorry if I've missed something in the documentation, but I'm wondering if there's an opportunity for adding the line-height tool into the toolbar?