aboutsummaryrefslogblamecommitdiffstats
path: root/lib/action_text.rb
blob: 4182cacb8a56f8500f41c0e7fadb08b4e662d659 (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                            
                  
 
                 

                                

                           
                      
                             
                      
                     





















                                  
   
require "active_record"
require "action_text/engine"
require "nokogiri"

module ActionText
  extend ActiveSupport::Autoload

  mattr_accessor(:renderer)

  autoload :Attachable
  autoload :AttachmentGallery
  autoload :Attachment
  autoload :Attribute
  autoload :Content
  autoload :Fragment
  autoload :HtmlConversion
  autoload :PlainTextConversion
  autoload :Serialization
  autoload :TrixAttachment

  module Attachables
    extend ActiveSupport::Autoload

    autoload :ContentAttachment
    autoload :MissingAttachable
    autoload :RemoteImage
  end

  module Attachments
    extend ActiveSupport::Autoload

    autoload :Caching
    autoload :Minification
    autoload :TrixConversion
  end
end