Is there an open source javascript rich text editor similar to gmail's? [closed]

荒凉一梦 提交于 2019-12-12 10:09:18

问题


I've looked at free javascript html editors, and I haven't found any that I feel handle links intuitively. I like the way the gmail editor does it (also the same way blogger.com) does it.

Does anyone know if there is an open source editor that handles linking that way? Jquery would be preferable.


回答1:


I use TinyMCE myself as Banzor suggests but here are a few other alternatives eash with their own strengths:

  • WYMeditor - http://www.wymeditor.org/
  • CKEditor - http://ckeditor.com/
  • FCKeditor - http://drupal.org/project/fckeditor



回答2:


gmail uses the open source closure-libary (made by google). Some documentation can be found here:

https://developers.google.com/closure/library/

An example of an editor created with the closure-libary, much similar to the gmail editor (e.g. the link part), can be found here:

https://google.github.io/closure-library/source/closure/goog/demos/editor/editor.html




回答3:


I use TinyMCE. It is probably the most powerful JavaScript version and it has really clean markup! The entire UI is customizable too. They have alot of info on the TinyMCE website

Here is the jQuery version: TINYMCE plugin




回答4:


Thanks Dennis,

But recently there is a very well customized feature for gmail!

New gmail text editing options

Hence is there a simple code like above and also can recognize right to left and left to right languages automatically.



来源:https://stackoverflow.com/questions/2672099/is-there-an-open-source-javascript-rich-text-editor-similar-to-gmails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!