<%- rtfs = element.richtext_contents_ids -%>
(function() {
  var $element = $('.element-content-editors', '#element_<%= element.id %>');
  Alchemy.Tinymce.remove(<%= rtfs.to_json %>);
  $element.html('<%= j render_editor(element) %>');
  Alchemy.GUI.init($element);
  Alchemy.Tinymce.init(<%= rtfs.to_json %>);
})();

<%- rtfs = element.richtext_contents_ids -%>
(function() {
  var $element = $('#element_<%= element.id %>_content');
  Alchemy.Tinymce.remove(<%= rtfs.to_json %>);
  $element.html('<%= j render_editor(element) %>');
  Alchemy.GUI.init($element);
  Alchemy.Tinymce.init(<%= rtfs.to_json %>);
})();

Fix refresh of element editor after updating elements with essence selects.
Fix refresh of element editor after updating elements with essence selects.
