wordpress-mobile / AztecEditor-Android

A reusable native Android rich text editor component.
Mozilla Public License 2.0
700 stars 115 forks source link

Add text size modifier #1061

Closed khaykov closed 1 year ago

khaykov commented 1 year ago

This PR adds a text size modifier, that is applied to base font size, and scales all the text accordingly. This is mainly aimed at use cases where you have specific heading sizes defined, instead of relying on default scaling behavior.

If you don't have a manually set heading sizes, all the text will scale with base font size.

Modifier can be negative, for downscaling.

To test: