diff --git a/src/components/input/editor.vue b/src/components/input/editor.vue index 03dff482..be2826ea 100644 --- a/src/components/input/editor.vue +++ b/src/components/input/editor.vue @@ -13,7 +13,7 @@
+
{{ emptyText }}
{{ $t('input.editor.edit') }}.
@@ -23,8 +23,8 @@
-
+
-
@@ -105,6 +105,9 @@ export default {
showPreviewText() {
return this.isPreviewActive && this.text === '' && this.emptyText !== ''
},
+ showEditButton() {
+ return !this.isEditActive && this.text !== ''
+ },
},
data() {
return {