Skip to content

Commit 3c877c9

Browse files
committed
References added
1 parent a03dbb5 commit 3c877c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/frontend/src/components/CollaborativeEditor/CollaborativeEditor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const CollaborativeEditor = (props: CollaborativeEditorProps) => {
4444

4545
const languageConf = new Compartment();
4646

47+
// Referenced: https://codemirror.net/examples/config/#dynamic-configuration
4748
const autoLanguage = EditorState.transactionExtender.of((tr) => {
4849
if (!tr.docChanged) return null;
4950

0 commit comments

Comments
 (0)