

#GET PLAIN TEXT FROM TINYMCE EDITOR HOW TO#
How to get TinyMCE work on and ASP.NET MVC project This package depends on package so it uses EditorTemplates to illustrate a sample. : This package holds a sample ASP.NET MVC mini Application (it is all just a model, a controller and a view) for TinyMCE.JQuery. This package depends on TinyMCE.MVC package so it uses EditorTemplates to illustrate a sample. : Holds a sample ASP.NET MVC mini Application (it is all just a model, a controller and a view) for TinyMCE. This package depends on TinyMCE.JQuery package. : Holds the ASP.NET MVC EditorTemplates for TinyMCE.JQuery. TinyMCE.MVC : This package holds the ASP.NET MVC EditorTemplates for TinyMCE. This package depends on TinyMCE and JQuery packages. TinyMCE.JQuery : Holds the JQuery integration files for TinyMCE. TinyMCE : The main package which holds the infrastructure. (This list might extend in the future) Briefly the packages are : There are several packages which are related to TinyMCE that I have pushed to live Nuget feed as you can see in the picture left hand side. In this post, I am going show you the easiest way to get it work ASP.NET MVC but I hope I am going to cover for Web Forms as well in near future. It’s even easier to get it working with ASP.NET MVC. It is now easy to get TinyMCE package to your project with Nuget. Mostly, I will show how to set up your environment to get TinyMCE working in a short time. I am not going to get into details of how I created the package. TinyMCE Nuget has replied my post in a short time and gave me a go ahead to push the package to live Nuget feed. So, I have contacted with the package admins on their forum : (The article was nice but it wasn’t following the DRY way)Īfter that, I have decided to enhance my packages to push them to live Nuget feed. The process which has been documented there is a very well working sample but well…, it looked more like a poor man’s TinyMCE integration for me. Remember the balloon which popped up inside my head? This blog post widened that balloon and it hit me harder this time. After I thought this, I have come across a blog post about TinyMCE integration on ASP.NET MVC 3 (The blog post is in Turkish). That worked pretty well for me but don’t miss the point here. Even, I have created EditorTemplates so that I could just give my model a hint to use the template. In order to do that, I’ve created an internal Nuget package just for myself to pull the TinyMCE package with plugins. So this hits me hard and I thought I should automate this process. This action popped up a balloon inside my head that tells me I had been doing this stuff over and over again for 80% of the projects that I have created. Then, I go to to grab the latest version of TinyMCE which is an awesome Javascript WYSIWYG Editor.
#GET PLAIN TEXT FROM TINYMCE EDITOR CODE#
This option provides no editor at all and formatting is reliant on your knowledge of HTML – this is useful if you’re experienced with HTML or someone has provided you some HTML markup code to use. TinyMCE HTML editor provides a toolbar very similar to the Atto HTML editor with basic text formatting options as shown below.

If you click the first button you see you get an extra two rows of options that including sub and superscript as well as extra symbols and paragraph indenting. As well as features to insert links (urls), media (images, videos). There are many features available from here including basic text formatting (bold, underline, italics) and text alignment.
