2018-02-07 13:43:36 -05:00
|
|
|
require "active_record"
|
|
|
|
require "active_text/engine"
|
2018-02-07 19:26:19 -05:00
|
|
|
require "nokogiri"
|
2018-02-07 13:43:36 -05:00
|
|
|
|
|
|
|
module ActiveText
|
2018-02-07 19:26:19 -05:00
|
|
|
extend ActiveSupport::Autoload
|
|
|
|
|
|
|
|
autoload :Attachable
|
|
|
|
autoload :Attachment
|
|
|
|
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
|
2018-02-07 13:43:36 -05:00
|
|
|
end
|