Hi Damjan Rems,
  
     Thank you so much for sharing your effort, it works superb. :)

Regards,

On Tuesday, 2 September 2014 16:18:38 UTC+5:30, Ruby-Forum.com User wrote:
>
> My solution is specific to CMS I am building. My biggest cracker at the 
> moment is documentation ;-) 
>
> It took me about two days to crack toolbar. Although everything is in ck 
> documentation http://docs.ckeditor.com it is very muddy ;-( 
>
> Put this somewhere into ck_config.js 
>
> CKEDITOR.editorConfig = function( config ) { 
> config.toolbar_basic = [ 
>     [ 'Save', '-', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', 
> '-', 'Undo', 'Redo' ], 
>     [ 'Bold', 'Italic', 'Underline', 
> '-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'] 
> ]; 
> //You may reconfigure toolbar for all sessions 
> config.toolbar = config.toolbar_basic; 
> }; 
>
> Or comment out last line and put into ckeditor object initializer for 
> specific session: 
>
> CKEDITOR.replace( 'record_body',{height: 500, customConfig: 
> '/ck/ck_config.js', contentsCss: '/ck/ck_css.css', toolbar: 'basic'} ) 
>
>
> by 
> TheR 
>
> -- 
> Posted via http://www.ruby-forum.com/. 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/4d3e64ae-568d-4df6-8a57-5d1435c3e2e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to