Italicize the selected text.

In caret status, the text to be entered is italicized.


Parameters:

NameTypeDescription
actionNameString'italic' text italicizing API


Example:

editor.execCommand('italic');