mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
Add automath and fix preview and display button
This commit is contained in:
@@ -67,7 +67,7 @@ export default class MathUI extends Plugin {
|
||||
const formView = new MainFormView( editor.locale, mathConfig.engine );
|
||||
|
||||
formView.mathInputView.bind( 'value' ).to( mathCommand, 'value' );
|
||||
formView.displayButtonView.bind( 'displayIsOn' ).to( mathCommand, 'display' );
|
||||
formView.displayButtonView.bind( 'isOn' ).to( mathCommand, 'display' );
|
||||
|
||||
// Listen to submit button click
|
||||
this.listenTo( formView, 'submit', () => {
|
||||
|
||||
Reference in New Issue
Block a user