mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2026-01-09 00:28:27 +08:00
fix(markdown): update markdown demo props usage
This commit is contained in:
parent
d201243b5a
commit
943d2419ca
@ -20,14 +20,19 @@
|
|||||||
<el-tag class="tag-title">
|
<el-tag class="tag-title">
|
||||||
Markdown Mode:
|
Markdown Mode:
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<markdown-editor ref="markdownEditor" v-model="content2" :options="{hideModeSwitch:true,previewStyle:'tab'}" height="200px" />
|
<markdown-editor
|
||||||
|
ref="markdownEditor"
|
||||||
|
v-model="content2"
|
||||||
|
:options="{ hideModeSwitch: true, previewStyle: 'tab' }"
|
||||||
|
height="200px"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="editor-container">
|
<div class="editor-container">
|
||||||
<el-tag class="tag-title">
|
<el-tag class="tag-title">
|
||||||
Customize Toolbar:
|
Customize Toolbar:
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<markdown-editor v-model="content3" :options="{ toolbarItems: ['heading','bold','italic']}" />
|
<markdown-editor v-model="content3" :options="{ toolbarItems: [['heading', 'bold', 'italic']] }" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="editor-container">
|
<div class="editor-container">
|
||||||
@ -95,6 +100,7 @@ export default {
|
|||||||
.editor-container {
|
.editor-container {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-title {
|
.tag-title {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user