class ActionText::Content
def attachments
html = %Q(
attachable = ActiveStorage::Blob.first
Extracts +ActionText::Attachment+s from the HTML fragment:
def attachments @attachments ||= attachment_nodes.map do |node| attachment_for_node(node) end end