Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[#487] Upgrade CKeditor
* Replace included CKeditor files with ckeditor-rails gem which is Asset Pipeline ready * Remove all vendored asset files for ckeditor * Override default config.js provided by ckeditor.js gem. * Move CKEditor 'boot' files from vendor into app directory. * Add gem dependency on ckeditor_rails * Bump to RC3
- Loading branch information
Showing
370 changed files
with
42 additions
and
95,359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
...ssets/javascripts/bcms/ckeditor/config.js → app/assets/javascripts/ckeditor/config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
# This removes all the Sprocket asset logging from development log, which makes them much saner. | ||
Rails.application.assets.logger = Logger.new('/dev/null') | ||
Rails::Rack::Logger.class_eval do | ||
def before_dispatch_with_quiet_assets(env) | ||
before_dispatch_without_quiet_assets(env) unless env['PATH_INFO'].index("/assets/") == 0 | ||
silence_sprockets = true | ||
|
||
if silence_sprockets | ||
Rails.application.assets.logger = Logger.new('/dev/null') | ||
Rails::Rack::Logger.class_eval do | ||
def before_dispatch_with_quiet_assets(env) | ||
before_dispatch_without_quiet_assets(env) unless env['PATH_INFO'].index("/assets/") == 0 | ||
end | ||
|
||
alias_method_chain :before_dispatch, :quiet_assets | ||
end | ||
alias_method_chain :before_dispatch, :quiet_assets | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.