Skip to Content Skip to Search

class ActionText::Engine

Inherits From

Public instance methods

attachable_plain_text_representation(caption = nil)

Permalink
Source code GitHub
# File actiontext/lib/action_text/engine.rb, line 47
def attachable_plain_text_representation(caption = nil)
  "[#{caption || filename}]"
end

previewable_attachable?()

Permalink
Source code GitHub
# File actiontext/lib/action_text/engine.rb, line 43
def previewable_attachable?
  representable?
end

to_trix_content_attachment_partial_path()

Permalink
Source code GitHub
# File actiontext/lib/action_text/engine.rb, line 51
def to_trix_content_attachment_partial_path
  nil
end

Definition files