The editor I require, needs to be easy to use. Even for people with absolutely no HTML knowledge
The projects I have tried are:
What I'm looking for is:
- Editor like TinyMCE editor with a live view like in stackoverflow site.
- 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:
TinyMCE for WYSIWYG editor.
Write custom code that will show it live in real article format.
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?
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
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
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 :)
I like the Telerik editor. It is not free, but it is very nice, and their support is great.
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.
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.
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
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.
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