@luciusa/extension-font-size
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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...).

Package Sidebar

Install

npm i @luciusa/extension-font-size

Weekly Downloads

115

Version

1.0.1

License

none

Unpacked Size

8.52 kB

Total Files

15

Last publish

Collaborators

  • luciusa