ckeditor字体样式13 px [英] ckeditor font style 13 px

查看:193
本文介绍了ckeditor字体样式13 px的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以前问过这个问题。
但是在尝试了所有的错误发生的可能性后,我发现在ckeditor如果你复制一些文本并粘贴它,它默认粘贴为
< ; p style =font-size:13px;>

I had earlier asked question about it. But after trying out all the possiblities where the error occurs, I have found that in ckeditor if you copy some text and paste it, it is default pasted as <p style="font-size: 13px;">

示例图片

HTML CODE

<div><p>Original Text</p>

<p><strong><u>The quick brown fox jumps over the lazy dog</u></strong></p>

<p>The quick brown fox jumps over the lazy dog</p>

<p>Copied Text</p>

<p style="font-size: 13px;"><strong><u>The quick brown fox jumps over the lazy dog</u></strong></p>

<p style="font-size: 13px;">The quick brown fox jumps over the lazy dog</p>
</div>

因此,如果您知道任何解决上述问题的答案,请回答我。

So if you know any solution to the above problem please answer me. The problem starts when you copy a text and paste it.I am using ckeditor 4.Latest version.

推荐答案

当您复制文本并粘贴时,问题就开始了。我使用ckeditor 4.Latest版本。为什么没有人回答?我试着使用稳定版本4.1.1也。问题仍然存在。你的人做什么来克服这个错误?

Why isn't nobody answering? I tried using the stable build 4.1.1 also. The problem is still there. What you people do to overcome this error?

查看ckeditor中的错误4.1.1

See the error in ckeditor 4.1.1

上面的一个是预览模式。当我把数据保存在mysql然后retrive它,样式应用。因此,第二次测试将比平常更小。

The above one is preview mode. When I save the data in mysql and then retrive it, the style is applied. And so the second Test will be smaller than usual.

这篇关于ckeditor字体样式13 px的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆