Opened 12 years ago
Closed 12 years ago
#11699 closed Bug (duplicate)
Text comming from "Paste from word" to ckeditor add some style attribute to first line
| Reported by: | ramaswamy | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Plugin : Paste from Word | Version: | |
| Keywords: | Cc: |
Description
Hi All,
I pasted some text using "paste from word", here the data is pasted as it is in the word file but when i click on the ok button the style attribute is added to first line of the document in source
I attached word file ckeditor UI page and source file.
Attachments (4)
Change History (5)
Changed 12 years ago by
| Attachment: | PastefromWord.png added |
|---|
Changed 12 years ago by
| Attachment: | ckeditorUI page.png added |
|---|
Changed 12 years ago by
| Attachment: | CKeditor_source.png added |
|---|
Changed 12 years ago by
| Attachment: | PasteExample-1.docx added |
|---|
comment:1 Changed 12 years ago by
| Keywords: | HCL removed |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
| Version: | 4.3.1 |

This issue has already been answerd in #11667 and #11683. This is how browser see HTML and what it passes to editor. Editor can't make guesses that if paragraph is indented so should the list be.
This is what browser sees:
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;mso-bidi-font-size:9.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">This is the Heading here<br style="mso-special-character:line-break"> <br style="mso-special-character:line-break"> </span></p> <ul style="margin-top:0cm" type="disc"><ul style="margin-top:0cm" type="circle"><li class="MsoNormal" style="mso-list:l0 level2 lfo1;tab-stops:list 72.0pt"><span style="font-size:12.0pt;mso-bidi-font-size:9.0pt;font-family: "Calibri","sans-serif"" lang="EN-US">What is your name<br style="mso-special-character: line-break"> <br style="mso-special-character:line-break"> ...Look closely - paragraph has margin-left:36.0pt while list doesn't.
This issue and similar issues will not be continued.