app/views/alchemy/admin/elements/create.js.erb in alchemy_cms-6.0.0.b2 vs app/views/alchemy/admin/elements/create.js.erb in alchemy_cms-6.0.0.b3

- old
+ new

@@ -32,10 +32,10 @@ $element_area.sortable('refresh'); } Alchemy.growl('<%= Alchemy.t(:successfully_added_element) %>'); Alchemy.closeCurrentDialog(); - Alchemy.Tinymce.init(<%= @element.richtext_contents_ids.to_json %>); + Alchemy.Tinymce.init(<%= (@element.richtext_contents_ids + @element.richtext_ingredients_ids).to_json %>); Alchemy.PreviewWindow.refresh(function() { Alchemy.ElementEditors.focusElementPreview(<%= @element.id %>); }); $el = $('#element_<%= @element.id %>');