method

fragment_by_replacing_attachment_gallery_nodes

fragment_by_replacing_attachment_gallery_nodes(content)
public

No documentation available.

# File actiontext/lib/action_text/attachment_gallery.rb, line 17
      def fragment_by_replacing_attachment_gallery_nodes(content)
        Fragment.wrap(content).update do |source|
          find_attachment_gallery_nodes(source).each do |node|
            node.replace(yield(node).to_s)
          end
        end
      end