Integration of WYSIWYG editor to best-in-place textarea

前端 未结 5 956
無奈伤痛
無奈伤痛 2021-02-15 10:54

I\'m using best_in_place gem to editing client\'s info in-place.

My question is, how can I integrate a WYSIWYG Editor for editing this content as HTML? I\'m currently us

5条回答
  •  故里飘歌
    2021-02-15 11:06

    I'm using CK-Editor, which I believe would similar to your wysiwyg Editor case somehow.

    Here is an example and solution for that: Long article about how he is switching to this:

    http://blog.amps211.com/this-is-me-professing-my-love-for-jquery-and-how-i-got-ckeditor-working-with-jeditable/

    files to the editor update http://blog.amps211.com/wp-content/uploads/2009/10/jquery.generateId.js http://blog.amps211.com/wp-content/uploads/2009/10/jquery.jeditable.ckeditor.js

提交回复
热议问题