问题
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;">
example picture
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.
回答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?
See the error in ckeditor 4.1.1
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.
来源:https://stackoverflow.com/questions/17657223/ckeditor-font-style-13-px