class Administrate::Field::Ckeditor

Public Instance Methods

ckeditor_options() click to toggle source
# File lib/administrate/field/ckeditor.rb, line 25
def ckeditor_options
  options.fetch(:ckeditor, {})
end
to_html() click to toggle source
# File lib/administrate/field/ckeditor.rb, line 21
def to_html
  raw(data.to_s)
end
truncate_stripped() click to toggle source
# File lib/administrate/field/ckeditor.rb, line 17
def truncate_stripped
  strip_tags(data.to_s)[0..truncation_length]
end