diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue
index 0d59cb8f2..1e12c3a9e 100644
--- a/webapp/components/ContributionForm/ContributionForm.vue
+++ b/webapp/components/ContributionForm/ContributionForm.vue
@@ -46,18 +46,14 @@
:disabled="loading"
ghost
@click.prevent="$router.back()"
- >
- {{ $t('actions.cancel') }}
-
+ >{{ $t('actions.cancel') }}
- {{ $t('actions.save') }}
-
+ >{{ $t('actions.save') }}
@@ -180,13 +176,10 @@ export default {
},
updateEditorContent(value) {
var n = 0
- // this.form.content = value
this.$refs.contributionForm.update('content', value)
-
this.disabled = true
n = value.replace(/<\/?[^>]+(>|$)/gm, '').length
this.form.contentLength = n
-
if (n > this.formSchema.content.min && this.formSchema.content.max > n) {
this.disabled = false
}