Merge pull request #1180 from nextcloud/dependabot/npm_and_yarn/vue/vue-easymde-1.0.0
This commit is contained in:
17
package-lock.json
generated
17
package-lock.json
generated
@@ -17216,12 +17216,19 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vue-easymde": {
|
"vue-easymde": {
|
||||||
"version": "0.1.6",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/vue-easymde/-/vue-easymde-0.1.6.tgz",
|
"resolved": "https://registry.npmjs.org/vue-easymde/-/vue-easymde-1.0.0.tgz",
|
||||||
"integrity": "sha512-HziRAiXJ1aXq7CXqTEEz80aYzDDc2CwmfzXAs8rp9JdvS143dEYOrR5Qtdz56ZGV/xbT5GK4RHzyQ8+za62JFw==",
|
"integrity": "sha512-B/ELibrOS8eckxvVHlW+ZHUKPsX5IB73Dx1zmieRFkuxEH17DjrvTE/2ICf2v6sYge5AB7vVuO3eeSDg/UGPuA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"easymde": "^2.6.0",
|
"easymde": "^2.7.0",
|
||||||
"marked": "^0.6.2"
|
"marked": "^0.7.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"marked": {
|
||||||
|
"version": "0.7.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz",
|
||||||
|
"integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg=="
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vue-eslint-parser": {
|
"vue-eslint-parser": {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
"vue": "^2.6.7",
|
"vue": "^2.6.7",
|
||||||
"vue-click-outside": "^1.0.7",
|
"vue-click-outside": "^1.0.7",
|
||||||
"vue-color": "^2.7.0",
|
"vue-color": "^2.7.0",
|
||||||
"vue-easymde": "^0.1.6",
|
"vue-easymde": "^1.0.0",
|
||||||
"vue-infinite-loading": "^2.4.4",
|
"vue-infinite-loading": "^2.4.4",
|
||||||
"vue-router": "^3.1.2",
|
"vue-router": "^3.1.2",
|
||||||
"vue-smooth-dnd": "^0.8.0",
|
"vue-smooth-dnd": "^0.8.0",
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
<ActionButton v-if="copiedCard.duedate" icon="icon-delete" @click="removeDue()">{{ t('deck', 'Remove due date') }}</ActionButton>
|
<ActionButton v-if="copiedCard.duedate" icon="icon-delete" @click="removeDue()">{{ t('deck', 'Remove due date') }}</ActionButton>
|
||||||
</Actions>
|
</Actions>
|
||||||
|
|
||||||
<markdown-editor ref="markdownEditor" v-model="desc" :configs="{autofocus: true, autosave: {enabled: true, uniqueId: 'unique'}, toolbar: false}" />
|
<VueEasymde ref="markdownEditor" v-model="desc" :configs="mdeConfig" />
|
||||||
</AppSidebarTab>
|
</AppSidebarTab>
|
||||||
<AppSidebarTab :order="1" name="Attachments" icon="icon-files-dark">
|
<AppSidebarTab :order="1" name="Attachments" icon="icon-files-dark">
|
||||||
{{ currentCard.attachments }}
|
{{ currentCard.attachments }}
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { AppSidebar, AppSidebarTab, Multiselect, DatetimePicker } from 'nextcloud-vue'
|
import { AppSidebar, AppSidebarTab, Multiselect, DatetimePicker } from 'nextcloud-vue'
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
import markdownEditor from 'vue-easymde/src/markdown-editor'
|
import VueEasymde from 'vue-easymde'
|
||||||
import { Actions } from 'nextcloud-vue/dist/Components/Actions'
|
import { Actions } from 'nextcloud-vue/dist/Components/Actions'
|
||||||
import { ActionButton } from 'nextcloud-vue/dist/Components/ActionButton'
|
import { ActionButton } from 'nextcloud-vue/dist/Components/ActionButton'
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ export default {
|
|||||||
AppSidebarTab,
|
AppSidebarTab,
|
||||||
Multiselect,
|
Multiselect,
|
||||||
DatetimePicker,
|
DatetimePicker,
|
||||||
markdownEditor,
|
VueEasymde,
|
||||||
Actions,
|
Actions,
|
||||||
ActionButton
|
ActionButton
|
||||||
},
|
},
|
||||||
@@ -103,6 +103,13 @@ export default {
|
|||||||
copiedCard: null,
|
copiedCard: null,
|
||||||
allLabels: null,
|
allLabels: null,
|
||||||
desc: null,
|
desc: null,
|
||||||
|
mdeConfig: {
|
||||||
|
autoDownloadFontAwesome: false,
|
||||||
|
spellChecker: false,
|
||||||
|
autofocus: true,
|
||||||
|
autosave: { enabled: true, uniqueId: 'unique' },
|
||||||
|
toolbar: false
|
||||||
|
},
|
||||||
lastModifiedRelative: null,
|
lastModifiedRelative: null,
|
||||||
lastCreatedRemative: null
|
lastCreatedRemative: null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user