When I create formatted text in tinyMCE and save it to the database it works good, I can see the visible changes I made in the editor, and in the database the code looks great:
<p><span style="background-color: #888888; color: #99cc00;">BLAAT</span> Some other tekst</p>
开发者_JAVA百科
But when I load the content from the database back into the editor it looks like plain text:
I can see no js errors or php errors, and I have no idea what so ever at the moment on where to look for possible mistakes. Any directions?
Before populating the form I disable the stripTags filter. The form populates perfectly. Then before getting the data again and putting it in the database I set the stripTags again. A bit of a work around, but it gets the job done.
精彩评论