Sha256: bb83a7b66baf9a3440d4e576477c9f3cc7aeb0102646fd6b2d9f5a37eb045118

Contents?: true

Size: 352 Bytes

Versions: 4

Compression:

Stored size: 352 Bytes

Contents

<% is_enabled = Spree::Editor::Config[:enabled] %>
<% current_editor = Spree::Editor::Config[:current_editor] %>
<% ids = Spree::Editor::Config[:ids].split %>

<% if is_enabled and ids.any? %>
    <%= render :partial => "shared/editor_engines/#{Spree::Editor::Config[:current_editor].underscore}",
               :locals => { :ids => ids } %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_editor-0.70.0 app/views/shared/_rich_editor_javascript.html.erb
spree_editor-0.50.1 app/views/shared/_rich_editor_javascript.html.erb
spree_editor-0.50.0 app/views/shared/_rich_editor_javascript.html.erb
spree_editor-0.40.0 app/views/shared/_rich_editor_javascript.html.erb