Sha256: 912e3f3e9d3c211a732cc6dd2a1424b2919e28c06259bc217f3d9c13d1163314

Contents?: true

Size: 460 Bytes

Versions: 82

Compression:

Stored size: 460 Bytes

Contents

dir = File.join(Rails.root, "..", "..", "lib", "generators", "ckeditor", "templates")

# Load the CKEditor initializer from the codebase.
initializer = ERB.new(File.read(File.join(dir, "ckeditor.rb")))
options = { :orm => CKEDITOR_ORM }
eval initializer.result(binding)

# Also load the specific initializer for the selected backend.
initializer = File.join(dir, "base", CKEDITOR_BACKEND.to_s, "initializer.rb")
require initializer if File.exist?(initializer)

Version data entries

82 entries across 82 versions & 6 rubygems

Version Path
glebtv-ckeditor-4.3.2.2 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.1 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.3.2.0 test/dummy/config/initializers/ckeditor.rb
ckeditor-4.0.10 test/dummy/config/initializers/ckeditor.rb
ckeditor-4.0.9 test/dummy/config/initializers/ckeditor.rb
ckeditor-4.0.8 test/dummy/config/initializers/ckeditor.rb
base2_ckeditor-4.0.7 test/dummy/config/initializers/ckeditor.rb
ckeditor-4.0.7 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.2.1.5 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.2.1.4 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.2.1.3 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.2.1.2 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.2.1.1 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.2.1 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.1.1.7 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.1.1.6 test/dummy/config/initializers/ckeditor.rb
ckeditor-4.0.6 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.1.1.5 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.1.1.4 test/dummy/config/initializers/ckeditor.rb
glebtv-ckeditor-4.1.1.3 test/dummy/config/initializers/ckeditor.rb