Question:
How can I group toolbar buttons and force part of them to go on a new line?
Answer:
The buttons inside the editor's toolbar can be arranged with the toolbarButtons option and using horizontal / vertical separators. For example |
would inserts a vertical separator, while -
adds a horizontal one.
Using ['undo', 'redo', '|', 'bold', 'italic', 'underline', '-', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'outdent', 'indent', 'quote', 'insertHR'] would produce the following output.