finalize ckeditor integration

This commit is contained in:
John Bintz 2012-11-04 13:09:50 -05:00
parent 099d666fd2
commit ec81b268c1
3 changed files with 4 additions and 8 deletions

View File

@ -25,7 +25,9 @@ module Sisyphus
Sisyphus.config["INCLUDE_MODELS"] = ENV["INCLUDE_MODELS"].split(',') if ENV.include?("INCLUDE_MODELS") Sisyphus.config["INCLUDE_MODELS"] = ENV["INCLUDE_MODELS"].split(',') if ENV.include?("INCLUDE_MODELS")
end end
app.config.assets.precompile << 'ckeditor/plugins/onchange/plugin.js'
end end
end end
end end

View File

@ -146,3 +146,4 @@ CKEDITOR.plugins.add( 'onchange',
} //Init } //Init
} ); } );

View File

@ -1,7 +0,0 @@
//= require ckeditor/plugins/onchange/plugin.js
//= require_self
(function() {
CKEDITOR.config.extraPlugins += ",onchange";
})(this);