Problem with Rich text editor convert to plain text
This topic is locked
Problem with Rich text editor convert to plain text
11/22/2006 2:47:26 PM
PHPRunner General questions
G
gdude66 author
I have been using the rich text editor which is great but would like the data to either go in as plain text only or be converted to plain text with the tags and breaks missing.
Is there a simple way of doing this as I need to use the spell checker in the rich text editor.
Also can the use of different fonts and colours be removed from the rich text editor?
There are third party PHP scrpts available that convert HTML to plain text like this one:
http://www.chuggnutt.com/html2text.php Also if you use Google toolbar to do spell checking it understands rich editor contents just fine. To modify rich text editor appearance edit include/richtext.js file.
Specifically to remove some buttons from the toolsbar see writeRTE function.
G
gdude66 author11/23/2006
Thanks for the reply
I have decided to stick with text and use one of the following javascript free spell checkers