Commit 2c82d0a2 authored by Pan's avatar Pan

refactor: set markdown autoDownloadFontAwesome to false

parent feb67856
......@@ -20,8 +20,10 @@
"echarts": "3.7.2",
"element-ui": "1.4.2",
"file-saver": "1.3.3",
"font-awesome": "^4.7.0",
"js-cookie": "2.1.4",
"jsonlint": "1.6.2",
"jszip": "^3.1.4",
"mockjs": "1.0.1-beta3",
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
......@@ -36,8 +38,7 @@
"vue-splitpane": "^1.0.0",
"vuedraggable": "2.14.1",
"vuex": "2.3.1",
"xlsx": "^0.10.8",
"jszip": "^3.1.4"
"xlsx": "^0.10.8"
},
"devDependencies": {
"autoprefixer": "7.1.1",
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment