@zjlab-fe/data-hub-ui 0.32.2 → 0.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,15 +7,13 @@ import { TextSelection } from 'prosemirror-state';
|
|
|
7
7
|
import { BlockNoteSchema, defaultStyleSpecs, defaultInlineContentSpecs, defaultBlockSpecs } from '@blocknote/core';
|
|
8
8
|
import { BlockNoteView } from '@blocknote/mantine';
|
|
9
9
|
import { zh } from '@blocknote/core/locales';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import '@blocknote/core/fonts/inter.css';
|
|
11
|
+
import '@blocknote/mantine/style.css';
|
|
12
12
|
import useStyle from './index.scss.js';
|
|
13
13
|
import { CustomCodeBlock } from './code-block/index.js';
|
|
14
14
|
import { detectLanguage } from './code-block/languageDetector.js';
|
|
15
15
|
import { parsePastedMarkdown } from './parseMarkdown.js';
|
|
16
16
|
|
|
17
|
-
__inject_css0();
|
|
18
|
-
__inject_css1();
|
|
19
17
|
useStyle();
|
|
20
18
|
// 自定义文件块,替换默认的文件块
|
|
21
19
|
const CustomFileBlock = createReactBlockSpec({
|