FIX: also track textContent mutations (#14607)

FIX: also track textContent mutations (#14607)

Tracking innerHTML was not enough to catch every mutations.

diff --git a/app/assets/javascripts/discourse/app/components/d-editor.js b/app/assets/javascripts/discourse/app/components/d-editor.js
index ac3e9a1..a1754cb 100644
--- a/app/assets/javascripts/discourse/app/components/d-editor.js
+++ b/app/assets/javascripts/discourse/app/components/d-editor.js
@@ -913,6 +913,7 @@ export default Component.extend(TextareaTextManipulation, {
       childList: true,
       subtree: true,
       attributes: false,
+      characterData: true,
     });
 
     return observer;

GitHub sha: d76d418e5da52edd6d29301fb27ab4cbbc57723c

This commit appears in #14607 which was approved by CvX. It was merged by jjaffeux.