class SpreeEditorHooks < Spree::ThemeSupport::HookListener
# Admin configuration
insert_after :admin_configurations_menu do
%(
<%= link_to t("rich_editor"), admin_editor_settings_path %> |
<%= t("rich_editor_description") %> |
tr>)
end
insert_after :admin_configurations_sidebar_menu do
%(><%= link_to t("rich_editor"), admin_editor_settings_path %>)
end
# Javascript
insert_after :admin_inside_head do
%(<%= render :partial => 'shared/rich_editor_javascript' %>)
end
end