Files
2025-11-25 22:06:38 +01:00

19 lines
817 B
Plaintext

<%= render(FormControl.new(input: @input, class: @wrapper_classes, data: @wrapper_data_attributes)) do %>
<%= content_tag(:div, hidden: true) do %>
<%= builder.text_area(@input.name, **@input.input_arguments) %>
<% end %>
<%= angular_component_tag "opce-ckeditor-augmented-textarea",
inputs: @rich_text_options.reverse_merge(
{
textAreaId: @text_area_id,
macros: false,
turboMode: true
}
),
class: @input.classes,
data: @rich_text_data %>
<% if @rich_text_options[:footer] %>
<%= @rich_text_options[:footer] %>
<% end %>
<% end %>