app/views/alchemy/admin/contents/create.js.erb in alchemy_cms-2.6.3 vs app/views/alchemy/admin/contents/create.js.erb in alchemy_cms-2.7.0
- old
+ new
@@ -42,10 +42,10 @@
Alchemy.Datepicker('#element_<%= @element.id %>');
<% elsif @content.essence_type == "Alchemy::EssenceRichtext" %>
- Alchemy.Tinymce.addEditor('contents_content_<%= @content.id %>_body');
+ Alchemy.Tinymce.addEditor('#<%= @content.form_field_id %>');
<% end %>
Alchemy.reloadPreview();
Alchemy.closeCurrentWindow();