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

Set vertical alignment for the selected cells.


Parameters:

NameTypeDescription
actionNameString'cellVerticalAlign' cell vertical alignment setting API
valueString'top', 'middle', 'bottom'


Example:

editor.execCommand('celVerticalAlign', 'top'); // vertical top align
editor.execCommand('celVerticalAlign', 'middle'); // vertical middle align
editor.execCommand('celVerticalAlign', 'bottom'); // vertical bottom align
  • No labels