Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

셀렉션된 텍스트의 글꼴을 설정합니다.

...

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
fontNameString글꼴 이름font family (ex; 'Arial')


Example:

Code Block
languagejs
themeEmacs
editor.execCommand('fontName', 'Arial');

...