Text area formatting
I am wondering if there is an easy way to allow custom text formatting. Maybe something similar to Pages where you can change, anywhere in the text the style of the font/color/whatever. Is this possible with a textarea? Should I create a label every time they type a letter or something? Or should I just go the webview route? thanks.
3 Answers
-
Accepted Answer
Sadly webview only.
-
The problem with the font tag is that it will format the entire textarea together, not just parts…
-
Use the font tag and put your styling attributes in {} braces (or are they brackets?).
For example:
font: {fontSize: 18, fontWeight: 'bold'}
I'm not sure what properties are available, but is is how you do it.