mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
updated codemirror to 5.57.0
This commit is contained in:
2
libraries/codemirror/mode/stex/stex.js
vendored
2
libraries/codemirror/mode/stex/stex.js
vendored
@@ -103,7 +103,7 @@
|
||||
// Do we look like '\command' ? If so, attempt to apply the plugin 'command'
|
||||
if (source.match(/^\\[a-zA-Z@]+/)) {
|
||||
var cmdName = source.current().slice(1);
|
||||
plug = plugins[cmdName] || plugins["DEFAULT"];
|
||||
plug = plugins.hasOwnProperty(cmdName) ? plugins[cmdName] : plugins["DEFAULT"];
|
||||
plug = new plug();
|
||||
pushCommand(state, plug);
|
||||
setState(state, beginParams);
|
||||
|
||||
Reference in New Issue
Block a user