Replies: 3 comments
|
(I really should make an icon already and publish this)
It works on overleaf.com and any self-hosted Overleaf instance that has commit overleaf/overleaf@2e82852 created at the 18th of June 2025 ( that also didn't delete the third-party extension support in
Yes, for firefox-based browsers if you download the For chromium-based browsers,
If the installation went well, there should be a little popup on the upper right saying |
|
Thank you for the reply! I have an instance of the Overleaf-toolkit running. It seems like the mentioned commit is not in that release? Could I adjust the Overleaf instance I have, or do I need to install a different version? |
|
I am not familiar with docker so I am not sure if this is the best way to do it, but running the following works for me. import { syntaxTree } from "@codemirror/language";
import {
ChangeSet,
EditorSelection,
Prec,
StateEffect,
StateField,
} from "@codemirror/state";
import {
Decoration,
EditorView,
hoverTooltip,
keymap,
ViewPlugin,
WidgetType,
} from "@codemirror/view";
import {
undo,
redo,
invertedEffects,
isolateHistory,
} from "@codemirror/commands";
import { CodeMirror, Vim, getCM } from "@replit/codemirror-vim";
export default {
ChangeSet,
Decoration,
EditorSelection,
EditorView,
Prec,
StateEffect,
StateField,
ViewPlugin,
WidgetType,
hoverTooltip,
keymap,
syntaxTree,
undo,
redo,
invertedEffects,
isolateHistory,
};
export const CodeMirrorVim = {
CodeMirror,
Vim,
getCM,
};
The snippet engine can't function without these objects, the concealment and highlighting brackets might work without, |


Uh oh!
There was an error while loading. Please reload this page.
Hi, how is this plugin installed? Do you just need to add the browser extension? Does this work on self-hosted Overleaf instances or only on overleaf.com?
Thanks for any answers!
All reactions