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 a03dbb5 commit 3c877c9Copy full SHA for 3c877c9
apps/frontend/src/components/CollaborativeEditor/CollaborativeEditor.tsx
@@ -44,6 +44,7 @@ const CollaborativeEditor = (props: CollaborativeEditorProps) => {
44
45
const languageConf = new Compartment();
46
47
+ // Referenced: https://codemirror.net/examples/config/#dynamic-configuration
48
const autoLanguage = EditorState.transactionExtender.of((tr) => {
49
if (!tr.docChanged) return null;
50
0 commit comments