2018-02-07 13:43:36 -05:00
|
|
|
require "active_record"
|
2018-04-13 19:23:04 -04:00
|
|
|
require "action_text/engine"
|
2018-02-07 19:26:19 -05:00
|
|
|
require "nokogiri"
|
2018-02-07 13:43:36 -05:00
|
|
|
|
2018-04-13 19:23:04 -04:00
|
|
|
module ActionText
|
2018-02-07 19:26:19 -05:00
|
|
|
extend ActiveSupport::Autoload
|
|
|
|
|
2018-02-14 09:43:49 -05:00
|
|
|
mattr_accessor(:renderer)
|
|
|
|
|
2018-02-07 19:26:19 -05:00
|
|
|
autoload :Attachable
|
|
|
|
autoload :Attachment
|
2018-02-08 15:48:45 -05:00
|
|
|
autoload :Attribute
|
2018-02-07 19:26:19 -05: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 13:43:36 -05:00
|
|
|
end
|