method

fragment_by_replacing_attachment_gallery_nodes

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: AttachmentGallery
fragment_by_replacing_attachment_gallery_nodes(content) 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/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
Register or log in to add new notes.