Skip to content

Commit

Permalink
References added
Browse files Browse the repository at this point in the history
  • Loading branch information
bensohh committed Oct 25, 2024
1 parent a03dbb5 commit 3c877c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const CollaborativeEditor = (props: CollaborativeEditorProps) => {

const languageConf = new Compartment();

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

Expand Down

0 comments on commit 3c877c9

Please sign in to comment.