summaryrefslogtreecommitdiffstats
path: root/core/modules/editor/js/editor.formattedTextEditor.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/editor/js/editor.formattedTextEditor.js')
-rw-r--r--core/modules/editor/js/editor.formattedTextEditor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/editor/js/editor.formattedTextEditor.js b/core/modules/editor/js/editor.formattedTextEditor.js
index 6ad38b9..73014e8 100644
--- a/core/modules/editor/js/editor.formattedTextEditor.js
+++ b/core/modules/editor/js/editor.formattedTextEditor.js
@@ -62,7 +62,7 @@
// Store the actual value of this field. We'll need this to restore the
// original value when the user discards his modifications.
- this.$textElement = this.$el.find('.field-item').eq(0);
+ this.$textElement = this.$el.find('.field__item').eq(0);
this.model.set('originalValue', this.$textElement.html());
},