instance method rich_textarea

Ruby on Rails 8.0.4

Since v8.0.4

Available in: v8.0.4 v8.1.2

Signature

rich_textarea(method, options = {})

Wraps ActionView::Helpers::FormHelper#rich_textarea for form builders:

<%= form_with model: @message do |f| %>
  <%= f.rich_textarea :content %>
<% end %>

Please refer to the documentation of the base helper for details.

Parameters

method req
options opt = {}
Source
# File actiontext/app/helpers/action_text/tag_helper.rb, line 101
    def rich_textarea(method, options = {})
      @template.rich_textarea(@object_name, method, objectify_options(options))
    end

Defined in actiontext/app/helpers/action_text/tag_helper.rb line 101 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::Helpers::FormBuilder

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close