Formatting your widget text becomes more flexible with the rich text editor font size option. Using this option, Authors can increase or decrease the size of the selected text to create well-formatted questions for learners.
The default font size used in the widget editor is 16px, and this is the size in which text is rendered in the assessment player by default. When you apply a font size in rich text editor, the size applied is in em, which is a scalable unit that is used in web document media. An em is equal to the current font-size, for instance, if the font-size of the document is 16px, 1em is equal to 16px. Ems are scalable in nature, so 2em would equal 32px, .5em would equal 8px, etc.
Specifying the font size in em ensures that accessibility features will work perfectly in the assessment player.
The following table shows the font sizes shown in the rich text editor and their corresponding em value which gets applied to the selected text.
|px size||em value|