Sha256: e84226a1d9bfac77c79b1ef7bf4be3e4965ddc23d62d2a7f4a90b7703a3679bf
Contents?: true
Size: 1.15 KB
Versions: 5
Compression:
Stored size: 1.15 KB
Contents
require 'ckeditor-rails/version' module Ckeditor module Rails mattr_accessor :assets_languages @@assets_languages = nil mattr_accessor :assets_plugins @@assets_plugins = nil mattr_accessor :assets_skins @@assets_skins = nil class << self def configure yield self end def root_path @root_path ||= Pathname.new(File.expand_path('..', __FILE__)) end def default_plugins %W[ a11yhelp about clipboard colordialog dialog div find flash forms iframe image link liststyle pastefromword preview scayt smiley specialchar table tabletools templates wsc ] end def default_skins %w[moono] end end end end require 'ckeditor-rails/asset' case ::Rails.version.to_s when /^[45]/ require 'ckeditor-rails/engine' when /^3\.[12]/ require 'ckeditor-rails/engine3' when /^3\.[0]/ require 'ckeditor-rails/railtie' end if defined? ::Rails
Version data entries
5 entries across 5 versions & 1 rubygems