YUI Rich Text Editor is printing code and style definitions visibly in the output

I have installed the YUI Rich Text Editor. It installed easily. It looks nice. However, when I use it, it always prints the following as the top of my post:

Normal 0 false false false EN-US ZH-TW X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

I have tried different input settings, such as turning off the "Line Break Converter". When I do this, I am still left with the line "Normal 0 false false false EN-US ZH-TW X-NONE" at the top of my post.

The strange thing is that the same trouble occurred when on two different installations; however, I was unable to find mention of this when I searched for yui editor issues.

Comments

deshilachado’s picture

This happened to me when copying&pasting from MS Word. Did you compy from a formatted Word text? If so, a workaround you could try is to paste to any editor first, then copy without formatting to Drupal and finally apply formatting with YUIeditor.