1.0.1 • Published 3 years ago
@luciusa/extension-font-size v1.0.1
Tiptap
Font size extension for tiptap
As Tiptap editor doesn't provide a font size implementation we needed to copy the given font-family extension to make it work for font-size.
It works the same as the font-family extension by given the function setFontSize
a string with the wanted size (eg: '12px', '26px' etc...).