Sha256: 58ed6afd199b710d366bfc47868531b5ae64e89ddf59ebd08205f5ce74107669

Contents?: true

Size: 949 Bytes

Versions: 7

Compression:

Stored size: 949 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

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

	# Paginate assets
	# config.default_per_page = 24
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
odania_core-0.0.7 config/initializers/ckeditor.rb
odania_core-0.0.6 config/initializers/ckeditor.rb
odania_core-0.0.5 config/initializers/ckeditor.rb
odania_core-0.0.4 config/initializers/ckeditor.rb
odania_core-0.0.3 config/initializers/ckeditor.rb
odania_core-0.0.2 config/initializers/ckeditor.rb
odania_core-0.0.1 config/initializers/ckeditor.rb