Add output options

This commit is contained in:
Sauli Anto
2019-09-17 19:39:49 +03:00
parent fe3c7ba393
commit 4bae994b4f
4 changed files with 20 additions and 10 deletions

View File

@@ -71,7 +71,7 @@ export default class MathUI extends Plugin {
// Listen to submit button click
this.listenTo( formView, 'submit', () => {
editor.execute( 'math', formView.equation, formView.displayButtonView.isOn );
editor.execute( 'math', formView.equation, formView.displayButtonView.isOn, mathConfig.outputType, mathConfig.forceOutputType );
this._closeFormView();
} );