35

Was wondering what the best WYSIWYG editor that I can embed in a web-site based on the ASP.NET MVC Framework? Ideally it should be Xhtml compliant and allow users to embed images etc.

The only one I've used before is the FCKEditor, how well does this work with the MVC - has anyone tried...?

My main requirements are:

  • Xhtml compliance
  • Deprecate (as best it can) when Javascript is disabled
  • Modify the toolbar options
  • Skinable (at least easily change the look and feel)
  • Easy to use client side api
  • Plays nicely with the ASP.NET MVC framework

Edit:

As Nick said, the XStandard editor is good, but requires a plug-in...what are your thoughts on requiring a plug-in for web-site functionality?

Thanks,
Kieron

Additional info:

As Hippo answered, the TinyMCE edit is ideal - for completness here's there download page:

http://tinymce.moxiecode.com/download.php

There's a download for .NET, JSP, ColdFusion, PHP and a jQuery plug-in too. Also, there are language packs available.

Been using it for a while now, best editor I've used. Thanks all!

Community
  • 1
  • 1
Kieron
  • 26,748
  • 16
  • 78
  • 122

7 Answers7

31

I really like TinyMCE which also should fit your requirements. It is well documented and offers a lot of possibilities to configure.

TheHippo
  • 61,720
  • 15
  • 75
  • 100
  • Great suggestion, I'll probably be using this myself now. – Chad Moran Feb 26 '09 at 17:49
  • There's a great jQuery plug-in for it on the TinyMCE site too. Well worth it (: – Kieron Aug 28 '09 at 10:03
  • It's [LGPL](http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License). I need something I can embed in my proprietary projects. Any good alternative? – Shimmy Weitzhandler Nov 16 '12 at 12:32
  • Why is it a problem for you to embed an LGPL project into a commercial project? LGPL is not viral. – Radim Burget Jul 30 '14 at 06:35
  • TinyMCE is a great WYSIWYG, but Telerik has a very nice one! http://demos.telerik.com/aspnet-mvc/editor/imagebrowser – JoshYates1980 Jul 30 '14 at 14:41
  • @RadimBurget, LGPL requires you to disclose your source-code. [Am I wrong](http://choosealicense.com/licenses/)? – Shimmy Weitzhandler Apr 15 '15 at 13:45
  • 1
    The LGPL is similar to the GPL, but is more designed for software libraries where you want to allow non-GPL applications to link to your library and utilise it. If you modify the software (LGPL), you still have to give back the source code, but you are allowed to link it with proprietary stuff without giving the source code to all of that back. – Radim Burget Apr 15 '15 at 14:24
  • here is an example to use tinymce editor control in mvc with code and demo.. this is free javascript editor and one of the best.. hope it helps.. [text editor control is asp.net mvc](http://codeanalyze.com/Articles/Details/20182/Rich-text-editor-control-in-aspnet-mvc-using-javascript-free) – Jeff D Dec 22 '16 at 16:35
6

Have a look at Aloha Editor http://aloha-editor.org which comes with a new concept: complete frontend editing with no iframe and real WYSIWYG.

Haymo Meran
  • 339
  • 4
  • 5
6

CKEditor (the next version of FCKEditor) is in beta, but looks like it might eventually be pretty nice.

Shawn Miller
  • 7,082
  • 6
  • 46
  • 54
6

Here is a good link to using FckEditor with MVC Framework

Using FCK Editor with ASP.NET MVC

2

I really like the simplicity and extensability of markItUp!

It's actually not a WYSIWYG, but we just changed from using TinyMCE to markItUp quite recently and I must say that it has been working very well!

And best of all, it's very easy to extend.

Mickel
  • 6,658
  • 5
  • 42
  • 59
2

Search on the JQuery homepage for a list of JQuery compatible WYSIWYG editors. There are quite a few there: JQuery plugins

Graffen
  • 213
  • 3
  • 7
0

XStandard fits most of your requirements, but it does require your clients to install a browser plug-in.

Nick
  • 5,616
  • 10
  • 52
  • 72
  • Looks good, but a low friction (no plug-ins) editor would be better I know...what does the community think? – Kieron Feb 26 '09 at 15:34
  • @smiller - depends entirely on the requirements for the app. A plug-in for a public forum is a dumb idea, but for a company intranet might be a good solution. – Nick Feb 26 '09 at 15:45
  • You don't want visitors to your site to have to install something. Flash is bad enough but just for an editor? No. – Chad Moran Feb 26 '09 at 18:45
  • This is a valid solution in some cases so +10 to counter the haters. – Tristan Warner-Smith Apr 04 '09 at 10:14