method

render_attachments

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Content
render_attachments(**options, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actiontext/lib/action_text/content.rb, line 60
    def render_attachments(**options, &block)
      content = fragment.replace(ActionText::Attachment::SELECTOR) do |node|
        block.call(attachment_for_node(node, **options))
      end
      self.class.new(content, canonicalize: false)
    end
Register or log in to add new notes.