Sha256: 2e12c941e283b732922eb747ebf20a5164b108be52d13d4dadaa81cefcb8ae5f

Contents?: true

Size: 309 Bytes

Versions: 27

Compression:

Stored size: 309 Bytes

Contents

<%- rtfs = element.richtext_contents_ids -%>
(function() {
  var $element = $('.element_content', '#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 %>);
})();

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/elements/_refresh_editor.js.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/elements/_refresh_editor.js.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/elements/_refresh_editor.js.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/elements/_refresh_editor.js.erb