Sha256: a22cf06777d5aafaeda469bd8fd738d00d6dd2e33ace8b65b541b77f063d310f
Contents?: true
Size: 738 Bytes
Versions: 1
Compression:
Stored size: 738 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", "rar", "zip", "xls", "swf"] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ckeditor-3.6.0 | lib/generators/ckeditor/templates/ckeditor.rb |