您好:我正在使用 tinyMCE,从 word 中复制并将文本放入编辑器。当我保存它时,它应该可以正常工作并给我这种格式:
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="line-height: 115%; color: #0f243e; font-size: 12pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-themecolor: text2; mso-themeshade: 128;"><span style="font-family: Calibri;">Course Description:</span></span></p>
但是当我转到同一页面并再次点击保存时,我得到了这段代码
<span style="line-height: 18px;">
<p class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal; mso-outline-level: 2;"><strong><span style="font-size: 13.5pt; font-family: "Cambria","serif"; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: Arial; color: #4f81bd;">Course Description:</span></strong><strong><span style="font-size: 18.0pt; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; color: #7d7d7d;"></span></strong></p>