element-tiptap
element-tiptap copied to clipboard
fix: add mac fontSize type
fix: add fontSize type (https://github.com/Leecason/element-tiptap/issues/1
pt | px |
---|---|
1 pt | 1.3281472327365 px |
2 pt | 2.6562944654731 px |
3 pt | 3.9844416982096 px |
There should be a method to convert pt to px, FontSize
extension only support px
now.