refactor: set markdown autoDownloadFontAwesome to false
This commit is contained in:
parent
feb6785654
commit
2c82d0a28e
|
@ -20,8 +20,10 @@
|
||||||
"echarts": "3.7.2",
|
"echarts": "3.7.2",
|
||||||
"element-ui": "1.4.2",
|
"element-ui": "1.4.2",
|
||||||
"file-saver": "1.3.3",
|
"file-saver": "1.3.3",
|
||||||
|
"font-awesome": "^4.7.0",
|
||||||
"js-cookie": "2.1.4",
|
"js-cookie": "2.1.4",
|
||||||
"jsonlint": "1.6.2",
|
"jsonlint": "1.6.2",
|
||||||
|
"jszip": "^3.1.4",
|
||||||
"mockjs": "1.0.1-beta3",
|
"mockjs": "1.0.1-beta3",
|
||||||
"normalize.css": "7.0.0",
|
"normalize.css": "7.0.0",
|
||||||
"nprogress": "0.2.0",
|
"nprogress": "0.2.0",
|
||||||
|
@ -36,8 +38,7 @@
|
||||||
"vue-splitpane": "^1.0.0",
|
"vue-splitpane": "^1.0.0",
|
||||||
"vuedraggable": "2.14.1",
|
"vuedraggable": "2.14.1",
|
||||||
"vuex": "2.3.1",
|
"vuex": "2.3.1",
|
||||||
"xlsx": "^0.10.8",
|
"xlsx": "^0.10.8"
|
||||||
"jszip": "^3.1.4"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "7.1.1",
|
"autoprefixer": "7.1.1",
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import 'font-awesome/css/font-awesome.min.css'
|
||||||
import 'simplemde/dist/simplemde.min.css'
|
import 'simplemde/dist/simplemde.min.css'
|
||||||
import SimpleMDE from 'simplemde'
|
import SimpleMDE from 'simplemde'
|
||||||
|
|
||||||
|
@ -52,6 +53,7 @@ export default {
|
||||||
mounted() {
|
mounted() {
|
||||||
this.simplemde = new SimpleMDE({
|
this.simplemde = new SimpleMDE({
|
||||||
element: document.getElementById(this.id),
|
element: document.getElementById(this.id),
|
||||||
|
autoDownloadFontAwesome: false,
|
||||||
autofocus: this.autofocus,
|
autofocus: this.autofocus,
|
||||||
toolbar: this.toolbar,
|
toolbar: this.toolbar,
|
||||||
spellChecker: false,
|
spellChecker: false,
|
||||||
|
|
Loading…
Reference in New Issue