Need a means to acquire `isActive` for use-font-size
dvnrsn opened this issue · 2 comments
dvnrsn commented
use-document-query-command-state exposes isActive
which gives the option to change a rich text button's color if bold/italic/underline etc. are active. font-size has no such feature but could use the add.
joeldenning commented
When would isActive
be false? When the rich text editor is not focused? Font size is inherently different from bold/italic/underline in that there is always a font size that is active whenever you're working in the rich text.