Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML Rich Textbox

I'm writing a web-app using Python and Pylons. I need a textbox that is rich (ie, provides the ability to bold/underline/add bullets..etc...). Does anyone know a library or widget I can use?

It doesn't have to be Python/Pylons specific, as it can be a Javascript implementation as well.

Thanks!

like image 238
LeeMobile Avatar asked Feb 28 '23 20:02

LeeMobile


2 Answers

There are several very mature javascript implementations that are server-framework agnostic:

  • http://www.fckeditor.net/
  • TinyMCE
  • WMD (used by SO)

The wikipedia article on Free HTML editors has a good overview, though note that not all are for application embedding.

like image 168
Jarret Hardie Avatar answered Mar 08 '23 04:03

Jarret Hardie


ExtJS's HtmlEditor was the best I found (license issues aside):

http://extjs.com/deploy/dev/docs/?class=Ext.form.HtmlEditor

ExtJS is a bit heavy-weight, but that HtmlEditor was the most responsive and best-looking out of the box that I found. It's worth running the output through HTMLTidy, which there are python libraries for.

like image 25
Joe W. Avatar answered Mar 08 '23 04:03

Joe W.