Sha256: 2096a2dbc532806fc5c181087c61a4c49d85280f408cd9a329e2100f6e7e51f2

Contents?: true

Size: 779 Bytes

Versions: 11

Compression:

Stored size: 779 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/active_record"

  # 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
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.9 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.8 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.7 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.6 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.5 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.4 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.3 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.2 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.1 lib/forge/config/initializers/ckeditor.rb
forge-cli-0.1.0 lib/forge/config/initializers/ckeditor.rb