Opened 9 years ago
Closed 9 years ago
#11667 closed Bug (invalid)
Editor changing pasted text from word formatting
Reported by: | Naresh Kallamadi | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.6.2 |
Keywords: | Cc: |
Description
CKEditor version : 3.6.2
Content pasted from word that contains indented bullet points end up having the formatting messed up when pasted into the editor. Attached is a copy of the word content and the result.
I pasted the following data from word :
Important points in 7.5.4:
o Understanding Discrete vs. Continuous
o For a Continuous Random Variable, probabilities of an interval of values are represented by areas (that are sectioned off by vertical slices).
o For a Continuous Random Variable the probability that X=(any specific value) = 0. For a continuous variable there are an infinite number of
o "expected value" is a term that means the mean (average)
o the mean (“expected value”) is the "balance point" of the area
After pasting the above data in ckeditor it will change like below
Important points in 7.5.4:
o Understanding Discrete vs. Continuous
o For a Continuous Random Variable, probabilities of an interval of values are represented by areas (that are sectioned off by vertical slices).
o For a Continuous Random Variable the probability that X=(any specific value) = 0. For a continuous variable there are an infinite number of
o "expected value" is a term that means the mean (average)
o the mean (“expected value”) is the "balance point" of the area
Source code like below :
<p style="margin-left:.5in;">Important points in 7.5.4:<br>
</p>
<ul>
<li>Understanding Discrete vs. Continuous<br>
</li>
<li>For a Continuous Random Variable, probabilities of an interval of values are represented by areas (that are sectioned off by vertical slices).<br>
</li>
<li>For a Continuous Random Variable the probability that X=(<i>any specific value</i>) = 0. For a continuous variable there are an infinite number of possible values the variable can have. Even if you think of each one as equally likely (as in a Uniform Distribution), the probability of any one particular value is 1/(infinity) which is 0.<br>
</li>
<li>"<b><i>expected value</i></b>" is a term that means the mean (average)<br>
</li>
<li>the mean (“expected value”) is the "balance point" of the area<br>
</li>
</ul> <p> </p>
And I added a word document which contains data to paste in editor.
so can any one tell me, How to resolve it.
Attachments (1)
Change History (2)
Changed 9 years ago by
Attachment: | PasteExample-1.docx added |
---|
comment:1 Changed 9 years ago by
Keywords: | ckeditor removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
- First of all please upgrade to latest CKEditor 4.3.3 full package or at least to CKEditor 3.6.6.
- When checking this MS Word code in Browser, there is no information that list is indented. First paragraph has margin-left and is indented in editor but there is no such information for the list. If browser sees no such indentation, neither will editor and it can’t make wild guesses. In such case this is a 'won't fix issue' and you should manually select such list and indent it in editor after pasting.
- To keep word styles as much as possible (this will never be 1:1 because these are Browser and Desktop applications -> two completely different Worlds ) please set these two options to false: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles, http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveStyles
For data to paste in editor