Page tree

Versions Compared

Key

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

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

...

Designate the background color for the selected text.

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


Parameters:

NameTypeDescription
actionNameString액션 이름'fill' text background color API
colorCodeString'#000000' 형식의 color codehex color (ex; #000000)


Example:

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

...