Strike through the selected text.

In caret status, the text to be entered is struck through.


Parameters:

NameTypeDescription
actionNameString'strike' strike through API


Example:

editor.execCommand('strike');