FIX: `{{ace-editor}}` was buggy in Ember CLI release (#12952)

FIX: {{ace-editor}} was buggy in Ember CLI release (#12952)

diff --git a/app/assets/javascripts/admin/addon/components/ace-editor.js b/app/assets/javascripts/admin/addon/components/ace-editor.js
index 89f092a..58bd1f5 100644
--- a/app/assets/javascripts/admin/addon/components/ace-editor.js
+++ b/app/assets/javascripts/admin/addon/components/ace-editor.js
@@ -19,6 +19,10 @@ export default Component.extend({
     }
   },
 
+  didRender() {
+    this._skipContentChangeEvent = false;
+  },
+
   @observes("content")
   contentChanged() {
     const content = this.content || "";
@@ -103,7 +107,6 @@ export default Component.extend({
         editor.on("change", () => {
           this._skipContentChangeEvent = true;
           this.set("content", editor.getSession().getValue());
-          this._skipContentChangeEvent = false;
         });
         if (this.attrs.save) {
           editor.commands.addCommand({

GitHub sha: c792c2b5

This commit appears in #12952 which was approved by OsamaSayegh. It was merged by eviltrout.