mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
Add math editing button for balloon editor
This commit is contained in:
@@ -74,7 +74,7 @@ export default class MainFormView extends View {
|
||||
attributes: {
|
||||
class: [
|
||||
'ck',
|
||||
'ck-math-form',
|
||||
'ck-math-form'
|
||||
],
|
||||
tabindex: '-1',
|
||||
spellcheck: 'false'
|
||||
@@ -90,8 +90,8 @@ export default class MainFormView extends View {
|
||||
children
|
||||
},
|
||||
this.saveButtonView,
|
||||
this.cancelButtonView,
|
||||
],
|
||||
this.cancelButtonView
|
||||
]
|
||||
} );
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ export default class MainFormView extends View {
|
||||
|
||||
// Prevent default form submit event & trigger custom 'submit'
|
||||
submitHandler( {
|
||||
view: this,
|
||||
view: this
|
||||
} );
|
||||
|
||||
// Register form elements to focusable elements
|
||||
@@ -108,7 +108,7 @@ export default class MainFormView extends View {
|
||||
this.mathInputView,
|
||||
this.displayButtonView,
|
||||
this.saveButtonView,
|
||||
this.cancelButtonView,
|
||||
this.cancelButtonView
|
||||
];
|
||||
|
||||
childViews.forEach( v => {
|
||||
|
||||
Reference in New Issue
Block a user