|
@@ -1,12 +1,10 @@
|
|
|
import {
|
|
import {
|
|
|
- forwardRef, useMemo, useRef, useEffect, useCallback,
|
|
|
|
|
|
|
+ forwardRef, useMemo, useRef, useEffect,
|
|
|
} from 'react';
|
|
} from 'react';
|
|
|
|
|
|
|
|
import { indentUnit } from '@codemirror/language';
|
|
import { indentUnit } from '@codemirror/language';
|
|
|
import type { ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
|
import type { ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
|
|
|
|
|
|
|
-// import { useEmojiPickerModal } from '~/stores/modal';
|
|
|
|
|
-
|
|
|
|
|
import { GlobalCodeMirrorEditorKey } from '../../consts';
|
|
import { GlobalCodeMirrorEditorKey } from '../../consts';
|
|
|
import { useCodeMirrorEditorIsolated } from '../../stores';
|
|
import { useCodeMirrorEditorIsolated } from '../../stores';
|
|
|
|
|
|