开发者

TinyMCE does not display formatted text in editor

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:

TinyMCE does not display formatted text in editor

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜