diff --git a/projects/common/math-editor.module.ts b/projects/common/math-editor.module.ts index ce64985e686b3002f566c135bb592ee9d1387e44..7da9ccf15c5a6b075adf0ee0d64b6a7287e15bdd 100644 --- a/projects/common/math-editor.module.ts +++ b/projects/common/math-editor.module.ts @@ -142,24 +142,17 @@ export class MathInputComponent implements AfterViewInit, OnChanges { { class: 'action', label: "<svg><use xlink:href='#svg-arrow-left' /></svg>", - // command: ['performWithFeedback', 'moveToPreviousChar'] - // command: ['performWithFeedback', 'moveToPreviousChar'] - command: ['switchMode', 'math', - '\\frac{#0}{#0}'] - // command: ['insert', '\\frac{#0}{#0}'] + command: ['performWithFeedback', 'moveToPreviousChar'] }, { class: 'action', label: "<svg><use xlink:href='#svg-arrow-right' /></svg>", - // command: ['performWithFeedback', 'moveToNextChar'] - command: ['switchMode', 'math'] + command: ['performWithFeedback', 'moveToNextChar'] }, { class: 'action font-glyph bottom right', label: '⌫', - // ifMode: 'math', command: ['performWithFeedback', 'deleteBackward'] - // command: ['insert', '\\sqrt{#0}', { format: 'latex' }] } ] ]