javascript WYSIWYG HTML editors?

☆樱花仙子☆ 提交于 2019-12-18 07:06:20

问题


What are the options for something that will let users make text bold/italic/underline/etc as they are writing in a textarea and work in all browsers?


回答1:


Give a look to FKCEditor, I always recommend it...




回答2:


I always liked TinyMCE http://tinymce.moxiecode.com/




回答3:


I favor the Rich Text Editor in the YUI




回答4:


I've used InnovaStudio WYSIWYG. Pretty extensible and cheap.




回答5:


FCKEditor is a popular choice, although it's incredibly bloated. There's a nice simple example in jQuery jQuery Plugins

I wrote my own in the end as I wanted to customise the editor quite a lot. It's not too difficult to do and typically involves popping an iframe on the page, setting the contenteditable to be true and then using a simple javascript command to update the html of the iframe.



来源:https://stackoverflow.com/questions/805639/javascript-wysiwyg-html-editors

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