Hello,
I am creating a content of a page using content api but I am not able to set a font size.
Example request:
{
"id": "123456789",
"type": "page",
"status": "current",
"title": "test123",
"version": {
"number": 78
},
"body": {
"storage": {
"value": "<p style=\"font-size: 10px\">test1</p>",
"representation": "storage"
}
}
}
I also tried:
"<p style=\"font-size: 10em\">test1</p>
"<p style=\"font-size: 10%\">test1</p>"
Whatever I do, the font size is 1em.
I see that other styles ex. text-align works fine.
Is there any way to set a font size? How can I know which styles works fine and which dont?