refactor: set markdown autoDownloadFontAwesome to false

This commit is contained in:
Pan
2017-10-26 11:07:51 +08:00
parent feb6785654
commit 2c82d0a28e
2 changed files with 5 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
</template>
<script>
import 'font-awesome/css/font-awesome.min.css'
import 'simplemde/dist/simplemde.min.css'
import SimpleMDE from 'simplemde'
@@ -52,6 +53,7 @@ export default {
mounted() {
this.simplemde = new SimpleMDE({
element: document.getElementById(this.id),
autoDownloadFontAwesome: false,
autofocus: this.autofocus,
toolbar: this.toolbar,
spellChecker: false,