app/views/spotlight/pages/_form.html.erb in blacklight-spotlight-2.7.2 vs app/views/spotlight/pages/_form.html.erb in blacklight-spotlight-2.8.0

- old
+ new

@@ -38,10 +38,10 @@ <%= f.label :title, class: 'sr-only' %> <%= f.text_field_without_bootstrap :title, class: 'form-control input-lg', placeholder: t(:'.title_placeholder') %> </div> <div class="form-group"> <%= f.label :content, class: 'sr-only' %> - <%= f.text_area_without_bootstrap :content, value: { data: f.object.content.as_json }.to_json, class: 'js-st-instance', data: { 'block-types': Spotlight::Engine.config.sir_trevor_widgets } %> + <%= f.text_area_without_bootstrap :content, value: { data: f.object.content.as_json }.to_json, class: content_editor_class(f.object), data: { 'block-types': Spotlight::Engine.config.sir_trevor_widgets } %> </div> </div> <div role="tabpanel" class="tab-pane" id="page-options"> <%= render "page_options", f: f %>