Drupal – Style Rendering problem of TinyMCE Editor in WYSIWYG

The WYSIWYG module works with lots of rich text editors such as TinyMCE, FCKeditor, CKEditor … etc. I downloaded the TinyMCE library and enable it in the WYSIWYG profile. After enabling the all available buttons in the rich text editor, i found that the style cannot be rendered correctly. All styled text are rendered without CSS style but attributes in square brackets [].

Add some styles on the story body.

 

Style rendering problem

 

The problem is caused by the BBCode button. So we have to disable it and edit the story body to add the style again. Now the CSS style is rendered correctly.

 

Done =)

Reference: WYSIWYG module and tinyMCE rendering problems

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.