Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
haschek committed Nov 6, 2024
1 parent 51c279e commit 6437534
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/extensions/codemirror/CodeMirror.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import React, { AllHTMLAttributes, useRef } from "react";
import React, { useRef } from "react";
import { defaultKeymap, indentWithTab } from "@codemirror/commands";
import { foldKeymap } from "@codemirror/language";
import { EditorState, Extension } from "@codemirror/state";
import { DOMEventHandlers, EditorView, KeyBinding, keymap, Rect, ViewUpdate } from "@codemirror/view";
//CodeMirror
import { minimalSetup } from "codemirror";

import { markField } from "../../components/AutoSuggestion/extensions/markText";
//constants
import { CLASSPREFIX as eccgui } from "../../configuration/constants";

//hooks
Expand All @@ -27,6 +25,7 @@ import {
adaptedLineNumbers,
adaptedPlaceholder,
} from "./tests/codemirrorTestHelper";

export interface CodeEditorProps {
// Is called with the editor instance that allows access via the CodeMirror API
setEditorView?: (editor: EditorView | undefined) => any;
Expand Down

0 comments on commit 6437534

Please sign in to comment.