aboutsummaryrefslogblamecommitdiffstats
path: root/lib/action_text.rb
blob: 0559dce2ba24c1c0059a123e732a5ddcb9383a12 (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 :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