element-tiptap
element-tiptap copied to clipboard
How to change the default font size?
The default font size is too big for me, but seems there is no method to change/set it? Please help. The issue is even worse because whenever I hit enter to start a new line, the font size changes back to the default big one.
In the meantime you can fork repo and set your own DEFAULT_FONT_SIZE here https://github.com/Leecason/element-tiptap/blob/b2cb42f683d868ef901f1233ddab591a5aa11824/src/utils/font_size.ts#L23