This is just a quick howto that I put together to get this to work. For more info you can download the code.
1. Add the following line to you're site.master and admin.master - site.master is dependant on the theme you are using.
<link rel="stylesheet" href="~/csharp.css" type="text/css" />
2. copy csharp.css to the path you specified.
You can change the css to suite you're needs.
3. Under the admin folder, there is a tinyMCE.ascx file
Open the file and add the following to the javascript inside
First you have to register the plugin on the following line:
plugins: "codeformat,,inlinepopups,
Then you have to add the icon to the toolbar:
theme_advanced_buttons1: "codeformat,fullscreen
4. Copy ico.gif to admin\images folder.
5. Copy CodeStyle.aspx and CodeStyle.aspx.cs to the admin folder.
6. Copy the tinyMCE plugin to the plugin folder located under editors\tiny_mce3\plugins\
Please ensure that this copyright is copied with all changes made to any code from manoli.net
1: #region Copyright © 2001-2003 Jean-Claude Manoli [jc@manoli.net]
2: /*
3: * This software is provided 'as-is', without any express or implied warranty.
4: * In no event will the author(s) be held liable for any damages arising from
5: * the use of this software.
6: *
7: * Permission is granted to anyone to use this software for any purpose,
8: * including commercial applications, and to alter it and redistribute it
9: * freely, subject to the following restrictions:
10: *
11: * 1. The origin of this software must not be misrepresented; you must not
12: * claim that you wrote the original software. If you use this software
13: * in a product, an acknowledgment in the product documentation would be
14: * appreciated but is not required.
15: *
16: * 2. Altered source versions must be plainly marked as such, and must not
17: * be misrepresented as being the original software.
18: *
19: * 3. This notice may not be removed or altered from any source distribution.
20: */
21: #endregion