Skip to content

Commit 976eaa7

Browse files
committed
refactor: 重构 Height 参数
1 parent 62036ba commit 976eaa7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '../../js/cherry-markdown.core.js'
1+
import '../../js/cherry-markdown.core.js'
22
import { addLink, addScript } from '../../../BootstrapBlazor/modules/utility.js'
33
import Data from '../../../BootstrapBlazor/modules/data.js'
44

@@ -8,7 +8,7 @@ export async function init(id, invoke, options, callback) {
88
return;
99
}
1010

11-
await addLink('./_content/BootstrapBlazor.CherryMarkdown/css/cherry-markdown.min.css')
11+
await addLink('./_content/BootstrapBlazor.CherryMarkdown/css/cherry-markdown.css')
1212
if (options.isSupportMath) {
1313
await addScript('./_content/BootstrapBlazor.CherryMarkdown/js/katex.min.js')
1414
await addLink('./_content/BootstrapBlazor.CherryMarkdown/css/katex.min.css')
@@ -42,7 +42,7 @@ export async function init(id, invoke, options, callback) {
4242

4343
options.editor = {
4444
theme: 'Default',
45-
height: '100%',
45+
height: "200px",
4646
defaultModel: 'edit&preview',
4747
convertWhenPaste: true,
4848
...options.editor

0 commit comments

Comments
 (0)