Tag: Rails/ckeditor
gem 'ckeditor'
//= require ckeditor/init
app/assets/javascripts/ckeditor/config.js app/assets/javascripts/ckeditor/contents.css
CKEDITOR.editorConfig = function (config) { config.extraPlugins = 'autolink,openlink' config.toolbar = [ ['Format','FontSize'] ,['Bold','Italic','Underline'] ,['TextColor','BGColor'] ,['RemoveFormat'] ,['Link','Unlink','Anchor'] ,['Source','Maximize','ShowBlocks'] ]; }
p { margin:0; padding:0 }
config.extraPlugins = 'autolink,openlink'
// ctrlClickHandlingNeeded = evt.data.$.ctrlKey && !CKEDITOR.env.gecko; ctrlClickHandlingNeeded = true