instance method rich_textarea

Ruby on Rails 8.1.2

Since v8.0.4

Available in: v8.0.4 v8.1.2

Signature

rich_textarea(method, options = {}, &block)

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 = {}
block block
Source
# File actiontext/app/helpers/action_text/tag_helper.rb, line 114
    def rich_textarea(method, options = {}, &block)
      @template.rich_textarea(@object_name, method, objectify_options(options), &block)
    end

Defined in actiontext/app/helpers/action_text/tag_helper.rb line 114 · 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