#10593 closed Bug (duplicate)
While paste contents from .docx file into ckeditor then getting issue
Reported by: | Payal Mulani | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Plugin : Paste from Word | Version: | 3.6.3 |
Keywords: | Cc: |
Description
Dear Sir/madam,
We are using CKeditor Version:'3.6.3',revision:'7474'.
Issue
While we paste contents from Ms word (.docx) especially second level numbered list as like below into ckeditor
- Something 1.1. something 1.2. something 1.3. something
then we are getting 'output' as like below
- Something
- something
- something
- something
Hence please let me know what is the problem.either we need to move to latest version or what should we need to do..
Please do the needful.
Thanks.
Attachments (9)
Change History (15)
Changed 11 years ago by
Attachment: | originalsnap1.jpg.png added |
---|
comment:1 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
DUP of #8516
HTML doesn't support such numbering. This can be done with custom CSS that you could add to contents.css file.
comment:2 Changed 11 years ago by
Thanks for your reply. I've applied the css as like below. OL { counter-reset: item } LI { display: block } LI:before { content: counters(item, ".") " "; counter-increment: item }
AND it is working with Openoffice file (.odt) but it is not working in IE7 browser. also If we copy from .docx File then It'll generate the Structure like(<P> tag)(See the snap1,2 and 3)
but if we copy from .ODT file then it'll generate the Structure Like (<OL><LI> like that..
see the snap 4 & 5)
Hence Ultimately we are not getting perfect Solution.so please give us solution.
Thanks.
comment:3 Changed 11 years ago by
All I can say is keep trying.
- Please make sure that what you actually create in MS Word is actually a list.
- About IE7 - please make sure CSS you use is supported in IE7.
comment:4 Changed 11 years ago by
Hi All,
Now I have tried into ckeditor Live demo. Link :- http://ckeditor.com/demo I have copy content from the (something.odt) file which I have attached and then paste it into Live demo (ckeditor_live_demo.jpg) and see the out put into attached file (ckeditor_live_demo.jpg) and also you can see the source code is like <OL><LI> Likewise.
Ultemately I want to show you that inside Live demo also I can't see subpoint proper. Hence I would like to ask you whether is this a ckeditor bug or will it be fixed into next coming version or what? Please answer me as an urgent basis.
Thanks.
Changed 11 years ago by
Attachment: | ckeditor_live_demo.jpg added |
---|
output of .odt file into ckeditor demo
comment:5 Changed 11 years ago by
In this particular case browser sees HTML from Open Office as:
<ol><li><p style="margin-bottom: 0.35cm">Something</p> <ol><li><p style="margin-bottom: 0.35cm">something</p> </li><li><p style="margin-bottom: 0.35cm">something</p> </li></ol> </li><li><p style="margin-bottom: 0.35cm">Something</p> <ol><li><p style="margin-bottom: 0.35cm">something</p> </li><li><p style="margin-bottom: 0.35cm">something</p> </li><li><p style="margin-bottom: 0.35cm">something</p> </li><li><p style="margin-bottom: 0.35cm">something</p> </li></ol> </li></ol> <p style="margin-left: 1.4cm; margin-bottom: 0.35cm"><a name="_GoBack"></a> <br><br> </p> <p style="margin-left: 1.4cm; margin-bottom: 0.35cm"><br><br> </p> <p style="margin-bottom: 0cm"><br> </p>
This is plain HTML.
Once again HTML doesn't support such numbering. It isn't editor but HTML. You can only do it with CSS. If this CSS is not working for you need to adjust it.
This ticket will not be continued.
comment:6 Changed 11 years ago by
Component: | General → Plugin : Paste from Word |
---|
original .docx file from which we are copying the text