Page tree
Skip to end of metadata
Go to start of metadata

Set border style for the selected image, video or layer.


Parameters:

NameTypeDescription
actionNameString'setDrawingObjectBorderStyle' layer border style setting API
styleString'none', 'solid', 'dashed', 'dotted', 'double'


Example:

editor.execCommand('setDrawingObjectBorderStyle', 'none'); // border none
editor.execCommand('setDrawingObjectBorderStyle', 'solid'); // solid line style
  • No labels