Copy text style from the caret position.

Related action : command - pasteRunStyle


Parameters:

NameTypeDescription
actionNameString'copyRunStyle' text style copying API


Example:

editor.execCommand('copyRunStyle');