Page tree
Skip to end of metadata
Go to start of metadata

Designates the font family of the selected text.

In caret status, the font family of the text to be entered is designated.


Parameters:

NameTypeDescription
actionNameString'fontName' font family changing API
fontNameStringfont family (ex; 'Arial')


Example:

editor.execCommand('fontName', 'Arial');
  • No labels