When editing a rich text box with basic word processing functions. The fonts change size while editing and when you try change them back all the content in the text box vanishes. It seems to happen when one copies nad pastes from Word? Any ideas why it could do this,
Here is some code that I use below:
cotent in Text box is saved as $ testmony
$testemony = strip_tags($testemony,"<font><br><ol><li><hr><b><u><strong><em>");
$testemony = str_replace("\n","<br>", $testemony);
$testemony = str_replace(" "," ", $testemony);
writeRichText('testemony', '$testemony','style.css', 520, 600, true, false, false );";
I also use an Rtesafe function to returns safe code for preloading in the RTE
Issues with Rich Text Box
Moderator: General Moderators