diff options
author | Max <max@nextcloud.com> | 2022-03-01 13:37:29 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-03-01 13:37:38 +0300 |
commit | 0b6f03d037ccf253a615b4689f473d7a094a210f (patch) | |
tree | 777ddc81eb45d7143b4baac5661cd60ad52167e0 /src/nodes/ImageView.vue | |
parent | b373923fddca95a8823311ccac1790307125352b (diff) |
lint: fix errors from @nextcloud/eslint-config@7
* Autofix `vue/first-attribute-linebreak`.
* Explicitely import `Store` from `vuex`.
* Allow importing default with the same name as named for tiptap extensions.
This is the way used in tiptap documentation:
`import Document from '@tiptap/extension-document'`
Disable `import/no-named-as-default` - but only for the lines in question.
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'src/nodes/ImageView.vue')
-rw-r--r-- | src/nodes/ImageView.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue index 8b480f2ff..ddbf75bcb 100644 --- a/src/nodes/ImageView.vue +++ b/src/nodes/ImageView.vue @@ -41,8 +41,7 @@ type="text" :value="alt" @keyup.enter="updateAlt()"> - <div - v-if="showIcons" + <div v-if="showIcons" class="trash-icon" title="Delete this image" @click="deleteNode"> |