Sha256: 1ccf75fcb0b53c2214e672621544fc393eabc27c7433fd34b74b1325a8404de8

Contents?: true

Size: 961 Bytes

Versions: 12

Compression:

Stored size: 961 Bytes

Contents

# Use this hook to configure ckeditor
Ckeditor.setup do |config|
  # ==> ORM configuration
  # Load and configure the ORM. Supports :active_record (default), :mongo_mapper and
  # :mongoid (bson_ext recommended) by default. Other ORMs may be
  # available as additional gems.
  require "ckeditor/orm/mongoid"

  # Allowed image file types for upload.
  # Set to nil or [] (empty array) for all file types
  # config.image_file_types = ["jpg", "jpeg", "png", "gif", "tiff"]

  # Allowed attachment file types for upload.
  # Set to nil or [] (empty array) for all file types
  # config.attachment_file_types = ["doc", "docx", "xls", "odt", "ods", "pdf", "rar", "zip", "tar", "swf"]

  # Setup authorization to be run as a before filter
  # config.authorize_with :cancan

  # Asset model classes
  # config.picture_model { Ckeditor::Picture }
  # config.attachment_file_model { Ckeditor::AttachmentFile }

  # Paginate assets
  # config.default_per_page = 24
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
glebtv-ckeditor-4.4.3.4 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.4.3.3 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.4.3.2 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.4.3.1 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.4.3.0 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.6 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.5 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.4 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.3 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.2 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.1 test/tmp/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.0 test/tmp/config/initializers/ckeditor.rb