app/views/themes/base/fields/_ckeditor.html.erb in bullet_train-themes-1.6.38 vs app/views/themes/base/fields/_ckeditor.html.erb in bullet_train-themes-1.7.0
- old
+ new
@@ -7,12 +7,13 @@
<%
stimulus_controller = 'fields--ckeditor'
form ||= current_fields_form
options ||= {}
-options = options.merge({ data: {"#{stimulus_controller}-target": 'field' }})
other_options ||= {}
+# TODO: Remove this if it's unneeded.
+options = options.merge({ data: {"#{stimulus_controller}-target": 'field' }})
%>
<%= render 'shared/fields/field', form: form, method: method, options: options, other_options: other_options do %>
<% content_for :field do %>
<div data-controller="<%= stimulus_controller %>">