instance method create_element

Ruby on Rails 7.1.6

Since v6.0.6

Available in: v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

create_element(tag_name, attributes = {})

No documentation comment.

Parameters

tag_name req
attributes opt = {}
Source
# File actiontext/lib/action_text/html_conversion.rb, line 15
    def create_element(tag_name, attributes = {})
      document.create_element(tag_name, attributes)
    end

Defined in actiontext/lib/action_text/html_conversion.rb line 15 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionText::HtmlConversion

Type at least 2 characters to search.

↑↓ navigate · open · esc close