diff --git a/core/modules/editor/js/editor.js b/core/modules/editor/js/editor.js
index 9bbce1d2e5ba1ecb33ee859fde837b5004a41f00..5893e116075d23cf273c64396954c52285d4ea09 100644
--- a/core/modules/editor/js/editor.js
+++ b/core/modules/editor/js/editor.js
@@ -106,7 +106,14 @@ Drupal.editorAttach = function (field, format) {
       field.removeAttribute('required');
     }
 
+    // Attach the text editor.
     Drupal.editors[format.editor].attach(field, format);
+
+    // Ensures form.js' 'formUpdated' event is triggered even for changes that
+    // happen within the text editor.
+    Drupal.editors[format.editor].onChange(field, function () {
+      $(field).trigger('formUpdated');
+    });
   }
 };