We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de97227 commit 412243bCopy full SHA for 412243b
src/ml-tweak.ts
@@ -22,7 +22,7 @@ export function configureMF(mfe: MathfieldElement) {
22
}
23
try {
24
mfe.inlineShortcuts = {
25
- ...mfe.inlineShortcuts,
+ ...(logseq.settings?.disableDefaultShortcuts ? null : mfe.inlineShortcuts),
26
...logseq.settings?.inlineShortcuts,
27
28
} catch (err) {
src/settings.ts
@@ -112,4 +112,11 @@ export const settingsConfig: SettingSchemaDesc[] = [
112
Logseq: '\\mathrm{Logseq}',
113
},
114
115
+ {
116
+ title: 'Disable default shortcuts',
117
+ description: 'Disable default inline shortcuts defined by MathLive.',
118
+ key: 'disableDefaultShortcuts',
119
+ type: 'boolean',
120
+ default: false,
121
+ },
122
]
0 commit comments