Embolden the selected text.

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


Parameters:

NameTypeDescription
actionNameString'bold' text emboldening API


Example:

editor.execCommand('bold');