diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue
index c91ed9741..6fa5d705f 100644
--- a/webapp/components/ContributionForm/ContributionForm.vue
+++ b/webapp/components/ContributionForm/ContributionForm.vue
@@ -10,8 +10,10 @@
/>
+ {{ form.title.length }}/64
+ {{ form.contentLength }}/2000
|<\/p>||<\/h3>||<\/h4>||<\/ul>||<\/ol>|- |<\/li>|
|<\/blockquote>||<\/strong>||<\/em>||<\/a>/gm,
- '',
- ).length > 3
- ) {
+ this.n = value.replace(/<\/?[^>]+(>|$)/gm, '').length
+ this.form.contentLength = this.n
+
+ if (this.n > 3 && this.n < 2000) {
this.disabled = false
}
-
- this.$refs.contributionForm.update('content', value)
},
availableLocales() {
orderBy(locales, 'name').map(locale => {