diff --git a/lib/form/templates/editor_textarea.mustache b/lib/form/templates/editor_textarea.mustache
index 22e8a1ec803..7c39781561b 100644
--- a/lib/form/templates/editor_textarea.mustache
+++ b/lib/form/templates/editor_textarea.mustache
@@ -3,14 +3,14 @@
onchange="{{onchange}}" {{/changelistener}}>{{value}}
- {{^onlyoneformat}}
+ {{#hasformats}}
- {{/onlyoneformat}}
- {{#onlyoneformat}}
+ {{/hasformats}}
+ {{^hasformats}}
- {{/onlyoneformat}}
+ {{/hasformats}}
diff --git a/theme/boost/templates/core_form/editor_textarea.mustache b/theme/boost/templates/core_form/editor_textarea.mustache
index ea49062eda5..f8ae956c181 100644
--- a/theme/boost/templates/core_form/editor_textarea.mustache
+++ b/theme/boost/templates/core_form/editor_textarea.mustache
@@ -3,14 +3,14 @@
onchange="{{onchange}}" {{/changelistener}}>{{value}}
- {{^onlyoneformat}}
+ {{#hasformats}}
- {{/onlyoneformat}}
- {{#onlyoneformat}}
+ {{/hasformats}}
+ {{^hasformats}}
- {{/onlyoneformat}}
+ {{/hasformats}}