module ActionText::Attachable
def from_node(node)
def from_node(node) if attachable = attachable_from_sgid(node["sgid"]) attachable elsif attachable = ActionText::Attachables::ContentAttachment.from_node(node) attachable elsif attachable = ActionText::Attachables::RemoteImage.from_node(node) attachable else ActionText::Attachables::MissingAttachable end end