Skip to main content

Alignment

createAlignPlugin#

An align element aligns its children:

  • default type are:
    • 'align_left'
    • 'align_center'
    • 'align_right'
    • 'align_justify'
  • wrap node strategy
Live Editor
Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^