Sha256: dc07116f17201e49fed503d3c5d4a9dba00a2eb300bcb9568a7bd73c07eed981

Contents?: true

Size: 297 Bytes

Versions: 10

Compression:

Stored size: 297 Bytes

Contents

<%- 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 %>);
})();

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.4.2 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.4.1 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.3.3 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.4.0 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/elements/_refresh_editor.js.erb