PDA

View Full Version : Answer editor like this forum's ?



armageddon08
February 26th, 2011, 06:32 AM
Hi all.
Can anybody point me in the right direction as to how to
implement the editor that opens up when I click Post Answer or Post New Thread ?

Also when displaying the replies how is the feature with syntax highlighting for the code snippets implemented ?

Thanks.

tgalati4
February 26th, 2011, 06:52 AM
If you install drupal, there is a module called WYSIWYG editor that allows in-line editing inside a webpage. It is written in PHP.

http://drupal.org

lisati
February 26th, 2011, 07:01 AM
I haven't actually tried any of the suggestions given, but you might want to look here: http://www.hotscripts.com/category/php/scripts-programs/wysiwyg-editors/

armageddon08
February 26th, 2011, 07:03 AM
If you install drupal, there is a module called WYSIWYG editor that allows in-line editing inside a webpage. It is written in PHP.

http://drupal.org

I'm not using drupal. I'm making the site from scratch using JAVA(JSP and Servlets).

After some googling, I found TinyMCE (http://tinymce.moxiecode.com/index.php) and SyntaxHighlighter (http://alexgorbatchev.com/SyntaxHighlighter/). But I'm not getting how to integrate those two.