2018-02-07 18:43:36 +00:00
|
|
|
require "active_record"
|
|
|
|
require "active_text/engine"
|
2018-02-08 00:26:19 +00:00
|
|
|
require "nokogiri"
|
2018-02-07 18:43:36 +00:00
|
|
|
|
|
|
|
module ActiveText
|
2018-02-08 00:26:19 +00:00
|
|
|
extend ActiveSupport::Autoload
|
|
|
|
|
|
|
|
autoload :Attachable
|
|
|
|
autoload :Attachment
|
2018-02-08 20:48:45 +00:00
|
|
|
autoload :Attribute
|
2018-02-08 00:26:19 +00:00
|
|
|
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 18:43:36 +00:00
|
|
|
end
|