Andrew Byrne

Results 3 comments of 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 ![image](https://user-images.githubusercontent.com/3189515/36725920-c8790aae-1baf-11e8-8dbe-45980c7cb184.png)

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.