Sha256: c05d368d9461ca8d875e37f1dfc96dd57af55481ffa4847ded34bf4a7a6b95f9
Contents?: true
Size: 732 Bytes
Versions: 7
Compression:
Stored size: 732 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/#{CKEDITOR_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
7 entries across 7 versions & 1 rubygems