1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-23 12:15:06 +03:00

Markdown Editor fix (#296)

This commit is contained in:
avele 2019-05-26 17:16:26 +04:00 committed by GitHub
parent e9214d0bb3
commit afa08bded6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 5 deletions

View File

@ -57,6 +57,10 @@ code {
font-weight: 500;
box-shadow: none;
}
code:after,
code:before {
content: "";
}
pre code {
background-color: #f5f5f5;
color: #bd4147;
@ -113,4 +117,12 @@ td.sourceCode {
.v-input--has-state.error--text .v-label {
animation: none;
}
blockquote {
background: rgba(10, 10, 10, 0.075);
border-left: 5px solid rgba(10, 10, 10, 0.15);
padding: 1px 1em;
margin-left: 0;
margin-right: 0;
border-radius: 5px;
}
</style>

View File

@ -178,7 +178,6 @@ export default class CategoryItem extends Vue {
.category-item-body >>> p {
font-size: 16px;
margin: 0 0 10px;
}
.category-item-body >>> li {

View File

@ -108,8 +108,6 @@ export default class MarkdownEditor extends Vue {
'image',
'horizontal-rule',
'|',
'clean-block',
'|',
'preview',
'side-by-side',
'fullscreen',
@ -120,9 +118,15 @@ export default class MarkdownEditor extends Vue {
},
className: 'fa fa-question-circle',
title: 'Markdown Guide',
}
},
]
: false
: false,
renderingConfig: {
markedOptions: {
gfm: false
}
},
indentWithTabs: false
})
this.editor.codemirror.on('change', () => {
this.$emit('input', this.editor.value())