Page tree

Versions Compared

Key

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

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

...

Designate the text color for the selected text.

In caret status, the text color for the text to be entered is designated.


Parameters:

NameTypeDescription
actionNameString액션 이름'textFill' text color changing API
colorCodeStringhex color (ex; '#000000' 형식의 color code)


Example:

Code Block
languagejs
themeEmacs
editor.execCommand('textFill', '#000000');

...