ASP.NET Rich Text Editor Control (blogs.msdn.com)

published 2 years, 2 months ago, submitted by jamesewelchjamesewelch(2265) 2 years, 2 months ago

Kannan Sundararajan, Microsoft, has written a Rich Text Editor control using ASP.NET and JavaScript and shared it under the MS-PL license on CodePlex. It has a very rich feature set and Kannan hopes to enhance it further in the future. Features: * Clipboard support: You can copy and paste content from other programs like Microsoft Word, Internet Explorer, Visual Studio into the RichTextEditor and it will persist the formatting. If you copy code from Visual Studio it will preserve the code coloring scheme. * Context sensitive Toolbar: The ToolBar buttons will reflect the properties of that content automatically when you select it or navigate through it using the mouse or keyboard . * Code Block: It allows you to format text as code blocks. Simple select the text and format it by clicking the "Code Block" ToolBar button. * Emoticons: You can express yourself better by adding emoticons to your rich text. * HtmlView: If you would like to have more control over the look and feel of your text then you can edit it in HtmlView as well. * Text in multiple languages: The control currently supports several languages. * Browser support: The control works well in two of the most widely used browsers Internet Explorer and Firefox.

9 comments | category: | Views: 947

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

posted by zigamorphzigamorph(2925) 2 years, 2 months ago

So I wonder if anybody should tell the developer that font tags shouldn't be used in your HTML anymore.

posted by jamesewelchjamesewelch(2265) 2 years, 2 months ago

There's already an XHTML issue logged to CodePlex with that issue. (ref http://www.codeplex.com/rte/WorkItem/View.aspx?WorkItemId=4354 )

posted by ailonailon(1205) 2 years, 2 months ago

This control uses built-in browser functions which could be implemented in a matter of one day and it uses browsers engine to generate HTML code meaning alot to do to come close to current market players.

posted by zeroinzeroin(0) 2 years, 2 months ago

You can't even compare it with spaw editor (www.spaweditor.com)

posted by mikekickmikekick(15) 2 years, 2 months ago

tinyMCE still rulz ,though spaw editor looks nice.

posted by hudohudo(0) 2 years, 2 months ago

No image manipulation/uploading, tables, .... No match to FckEditor on asp.net, but one day who knows...

posted by offwhiteoffwhite(975) 2 years, 2 months ago

Looks promising, but it needs to support modern standards for markup. It is still using FONT tags instead of style attributes and class names like you get with TinyMCE which is easy enough to drop into an ASP.NET application. It looks like this issue has been raised.

http://www.codeplex.com/rte/WorkItem/View.aspx?WorkItemId=4354

Previously I had this issue with another editor and I applied the HTML Tidy tool to the markup to clean up the markup to fit my needs. It worked pretty well.

posted by offwhiteoffwhite(975) 2 years, 2 months ago

Here is that Tidy fix I just recreated. It uses the TidyATL library which is COM, so you have to run the Setup project installer to register the assembly. Then you can see how the sample website works. Everything is in Subversion at the location below. I am using TidyMCE so far but plan to add others like Rich Text Editor and FreeTextBox as well. May also try SPAW Editor.

http://svn.offwhite.net/svn/SmallSharpTools.Tidy/trunk/

information Login or create an account to comment on this story