Methods
Instance Public methods
render(&block)
📝 Source code
# File actiontext/app/helpers/action_text/tag_helper.rb, line 63
def render(&block)
options = @options.stringify_keys
add_default_name_and_field(options)
options["input"] ||= dom_id(object, [options["id"], :trix_input].compact.join("_")) if object
html_tag = @template_object.rich_textarea_tag(options.delete("name"), options.fetch("value") { value }, options.except("value"), &block)
error_wrapping(html_tag)
end
🔎 See on GitHub