Apply paragraph alignment commands
These buttons move the caret into the same paragraph and then call the alignment methods through
summernote.invoke().
This paragraph is the current alignment target for the paragraph API example.
HTML output
Ready.
Example configuration - Alignment
summernote.create('#paragraph-alignment-editor', {
height: 240,
});
summernote.invoke('#paragraph-alignment-editor', 'justifyLeft');
summernote.invoke('#paragraph-alignment-editor', 'justifyCenter');
summernote.invoke('#paragraph-alignment-editor', 'justifyRight');
summernote.invoke('#paragraph-alignment-editor', 'justifyFull');