Which WYSIWYG editor is best for a content management site?

邮差的信 提交于 2019-12-03 09:45:31

问题


The editor I require, needs to be easy to use. Even for people with absolutely no HTML knowledge

The projects I have tried are:

  1. TinyMCE
  2. ckeditor.com

What I'm looking for is:

  1. Editor like TinyMCE editor with a live view like in stackoverflow site.
  2. A way to insert pictures, and arrange them in the article.

EDIT: THe best solution that I think about it right now is to use:

  1. TinyMCE for WYSIWYG editor.

  2. Write custom code that will show it live in real article format.

  3. Write Ajax code that will upload the pictures to the site and then the editor can arrange them in the article, based on their ID/name.

What do you think about solution? Maybe you have a better idea?


回答1:


StackOverflow uses Markdown syntax and the WMD Editor

Markdown is a very nice way to create valid HTML but its feature list is much shorter than the TinyMCE Editor. It might be quite useful for your users, provided they don't need the extra functionality.

Other options you may want to consider are:

  • The What you mean is what you get editor.
  • The YUI editor from Yahoo



回答2:


I have enjoyed using WYMeditor in the sites we build using ExpressionEngine (a CMS).

Pros:

  • will not allow invalid xhtml
  • lets you specify a stylesheet for it list rules from so the user can easily apply styles to content
  • code view for those who know html/css and need to tweak something
  • supports image placement (not sure you can upload through it though, the CMS we use has its own file upload utility)
  • it has passed the mom/client test for us without fail

Cons:

  • will not allow invalid xhtml... sometimes you really really REALLY want to just give up and use that <center> tag



回答3:


I use the Telerik RadEditor in my CMS. It's VERY robust, and has several hook-in points that allow you to extend its functionality to meet your needs. It doesn't have (afaik) the live view like the one StackOverflow uses, but that could probably be added if you so desired.

It does however provide the photo uploading/arranging functionality you mention, in addition to allowing you to upload documents and some other media. The downside is that the control is quite expensive, close to $1,000 I think. Fortunately, my company covers the cost :)




回答4:


I like the Telerik editor. It is not free, but it is very nice, and their support is great.




回答5:


I've used both CKEditor and tinyMCE; I am using CKEditor now. If it makes a difference to you, I've needed to change the CKEditor source code on three occasions and each time it was a pleasant experience. The code is well documented.

CKEditor has released several versions in the previous weeks; the latest version fixed the problem where I needed to change the source.




回答6:


Ive used TinyMCE and have liked it thus far.

Pros: Easy to use no HTML needed but you can still switch to html view if you want. You can change styles and fonts and much more that a CMS would need.

Cons: However there is no way to upload photos with it. It uses the same style that the markdown here on SO uses. It can just include external images.




回答7:


heres one which uses any blog editor for editing the content. If the users are serious about maintaining a site, its not unreasonable to get them to install software if its going to make their experience significantly better than a JS editor




回答8:


I had to build a CMS from scratch a few years ago. Went through so many options, tore TinyMCE to pieces, also tried CKEditor, etc etc. I really liked summernote and ended up using that. Seemed like the most drama-free option at the time and worked flawlessly.

https://summernote.org/

Come to think of it I might use it in my next project.



来源:https://stackoverflow.com/questions/2149170/which-wysiwyg-editor-is-best-for-a-content-management-site

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