rails 4 with CKeditor

后端 未结 6 883
死守一世寂寞
死守一世寂寞 2021-01-31 12:41

I cannot get the galetahub ckeditor gem to work with Rails 4 for me. I searched for any problems online but cannot find any. I\'m following the instructions exactly.

6条回答
  •  囚心锁ツ
    2021-01-31 12:54

    ajkumar basically answered the question well already, but if you are still lost, all you need to do is download the js file, include it in your html, have a script snippet included in the HTML to activate ckeditor on a certain textarea tag ID, and then change the class of the "textarea" tag you want to change to ckeditor. Quick sample below

    
    
        
            A Simple Page with CKEditor
            
            
        
        
            

提交回复
热议问题