views:

198

answers:

4
+2  Q: 

Rich Text IDE

Hi,

Does anyone know of a javascript based Rich Text box that behaves a bit like an IDE so that in a management system I can provide a text area for CSS and/or one for HTML to be written into the box and the input is colour coded like it is if you edit in Notepad++, Visual Studio etc Customsiation of the colours would be superb but certainly not essential!

I was sure there must be at least one but I'm struggling to find any through Google searches and instead am getting numerous results for FCKEditor style Rich Text Boxes.

Thanks for any help!

Steve

+4  A: 

CodeMirror loks like what you want.

I was also going to suggest Bespin but I think browser technology needs to catch up with it (it uses HTML 5 etc.)

Brian Agnew
CodeMirror is exactly what I was after, that's superb thanks Brian.
stibstibstib
A: 

I'm a bit confused about what you need. What I understood is that you are looking for a tool, where you input HTML in one textbox, CSS in another one, and the tool applies the style to the HTML to color the HTML like in Notepad++.

If this is the case, I don't know what you expect as an end result. Is it inline styling, so that you can paste the result on a page and have it displayed? To me all this sounds like it would make things more complicated than you would do it by hand - maintainability, etc. I don't think you'll find such a tool anywhere, it doesn't seem logical to me.

Slavo
A: 

Not sure if I understand your question but you should have a look at syntaxhighlighter

frederic.jecker
A: 

I've also been sent this from another source for another option called 'CodePress': CodePress link on Sourceforge

This one includes line numbers and different language options, might be useful to someone as I think, by the looks of it, I prefer this option to CodeMirror.

stibstibstib
I tinkered with CodePress, and it looked nice, but since it converted the textareas in my form to iframes, they weren't being submitted. I tried to find documentation on how to fix this, but I can't seem to find it anymore.
Nathan Long
Is CodePress a dead project now?
Nathan Long