Sha256: c40c212a5ebb0170c3d4615ece645c92511f1d9a0aed6e6152d864a22d40b4b1

Contents?: true

Size: 1.77 KB

Versions: 8

Compression:

Stored size: 1.77 KB

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/<%= options[:orm] %>"

  # Allowed image file types for upload.
  # Set to nil or [] (empty array) for all file types
  # By default: %w(jpg jpeg png gif tiff)
  # 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
  # By default: %w(doc docx xls odt ods pdf rar zip tar tar.gz swf)
  # config.attachment_file_types = ["doc", "docx", "xls", "odt", "ods", "pdf", "rar", "zip", "tar", "swf"]

  # Setup authorization to be run as a before filter
  # By default: there is no authorization.
  # config.authorize_with :cancan

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

  # Paginate assets
  # By default: 24
  # config.default_per_page = 24

  # Customize ckeditor assets path
  # By default: nil
  # config.asset_path = "http://www.example.com/assets/ckeditor/"

  # To reduce the asset precompilation time, you can limit plugins and/or languages to those you need:
  # By default: nil (no limit)
  # config.assets_languages = ['en', 'uk']
  # config.assets_plugins = ['image', 'smiley']

  # CKEditor CDN
  # More info here http://cdn.ckeditor.com/
  # By default: nil (CDN disabled)
  # config.cdn_url = "//cdn.ckeditor.com/4.5.6/standard/ckeditor.js"

  # JS config url
  # Used when CKEditor CDN enabled
  # By default: "/assets/ckeditor/config.js"
  # config.js_config_url = "/assets/ckeditor/config.js"
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
glebtv-ckeditor-4.6.0 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.5.10.3 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.5.10.2 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.5.10.1 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.5.7.1 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.5.7 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor_custom_controller-4.1.6 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-4.1.6 lib/generators/ckeditor/templates/ckeditor.rb