method
node_from_attributes
v6.0.0 -
Show latest stable
- Class:
ActionText::Attachment
node_from_attributes(attributes)private
No documentation available.
# File actiontext/lib/action_text/attachment.rb, line 37
def node_from_attributes(attributes)
if attributes = process_attributes(attributes).presence
ActionText::HtmlConversion.create_element(TAG_NAME, attributes)
end
end