lib/generators/ckeditor/templates/ckeditor.rb in ckeditor-4.2.0 vs lib/generators/ckeditor/templates/ckeditor.rb in ckeditor-4.2.1
- old
+ new
@@ -2,11 +2,11 @@
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] %>"
+ 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 = %w(jpg jpeg png gif tiff)
@@ -37,22 +37,22 @@
# By default: 24
# config.default_per_page = 24
# Customize ckeditor assets path
# By default: nil
- # config.asset_path = "http://www.example.com/assets/ckeditor/"
+ # 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"
+ # config.cdn_url = '//cdn.ckeditor.com/<%= Ckeditor::Version::EDITOR %>/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"
+ # By default: "ckeditor/config.js"
+ # config.js_config_url = 'ckeditor/config.js'
end