Sha256: 559a8cc09b14bb5c7be0af61740cf7ded82b7715601d665406ee6f68fbae54e0

Contents?: true

Size: 765 Bytes

Versions: 18

Compression:

Stored size: 765 Bytes

Contents

# Use this hook to configure ckeditor
if Object.const_defined?("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
    # 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"]
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
glebtv-ckeditor-4.0.2.7 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.0.2.6 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.0.2.5 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.0.2.4 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.0.2.2 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.0.2.1 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.0.2 lib/generators/ckeditor/templates/ckeditor.rb
glebtv-ckeditor-4.0.1 lib/generators/ckeditor/templates/ckeditor.rb
lafeber_ckeditor-3.7.3 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.7.3 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.7.2 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.7.1 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.7.0 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.7.0.rc3 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.7.0.rc2 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.7.0.rc1 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.6.2 lib/generators/ckeditor/templates/ckeditor.rb
ckeditor-3.6.1 lib/generators/ckeditor/templates/ckeditor.rb