Post made in TinyMCE is not WYSIWYG
I have included TinyMCE into my site.
The TinyMCE data gets stored in a column called "post" which is of 开发者_如何转开发type "Text" which is what it says to set the column type to in the manual.
When I display my posts on the front page of my site made in TinyMCE they do not look anything like what they were in the editor. Images and media are not displayed, formatting is gone, and the text is all one size.
Have I missed something out in the installation.
Here is a screenshot to of a post made in TinyMCE to show you what I mean.
http://i.imgur.com/fZe3I.jpg
Thanks
This may be subject to several things
- wrong tinymce init (valid_elements, valid_child_elements,...) leading to the undesired removal of html elements in the content (the tinymce cleanup performs)
- allowed attributes for elements not set correctly int he tinymce init leading to the undesired removal of html attributes in the content (the tinymce cleanup performs)
精彩评论