English 中文(简体)
TinyMCE在储蓄方面增加了风格
原标题:TinyMCE adds styles on save

Hello: I m using tinyMCE, copying from word and dropping the text into the editor. When I save it once it works as it should and gives me this formating:

<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: &quot;Cambria&quot;,&quot;serif&quot;; mso-fareast-font-family: &quot;Times New Roman&quot;; mso-bidi-font-family: Arial; color: #4f81bd;">Course Description:</span></strong><strong><span style="font-size: 18.0pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; mso-fareast-font-family: &quot;Times New Roman&quot;; color: #7d7d7d;"></span></strong></p>
问题回答

你们看到的是额外格式,因为你正在从MS Word接过。 在语言中使用明确的格式选择,或使用笔记本等便衣主,在你过去时,补上任何额外的格式。

对于我来说,我也存在同样的问题,我补充说,我担任这个职务。

$_POST = array_map(  stripslashes , $_POST );

我的编辑网页没有,我补充说,这页是罚款。 因此,比较你的添加和插图;编辑页可能有所不同。





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签