Andrew Byrne
Andrew Byrne
Have you figured out how to do this since opening this ticket? I'm having the same issue. Not many styles are supported it seems 
I'm having the same issue. Neither solution works for me ` onEditorInit(editor) { editor.trigger('format', 'editor.action.format'); } ` Or ` onEditorInit(editor) { const format = editor.getAction('editor.action.format'); format.run(); }`
Changing the command to `'editor.action.formatDocument'` works for me. See item 32 in the image of the supported actions.