app/models/simplec/page.rb
def link_embedded_images!
      images = self.find_embedded_images
      images.each do |image|
        raise AlreadyLinkedEmbeddedImage if image.embeddable &&
          image.embeddable != self
        image.update!(embeddable: self)
      end
    end
def link_embedded_images!
      images = self.find_embedded_images
      images.each do |image|
        raise AlreadyLinkedEmbeddedImage if image.embeddable &&
          image.embeddable != self
        image.update!(embeddable: self)
      end
    end
Set this instance as the #embeddable association on the
   Simplec::EmbeddedImage

 Used as an after_save hook.

 @return [Array] of Simplec::EmbeddedImages