Opened 11 years ago
Closed 11 years ago
#12117 closed Bug (wontfix)
Defect - The formats is losted when copy from word(Office 2010)
Reported by: | Eleanor | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | |
Keywords: | Cc: |
Description
My copied value from word(Office 2010)with Align/Indent format, After paste to CK Editor, all Align/ Indent formats are lost. Please check attachement to get my testing source word file
Testing result:
- All Align format has been lost
- All Indent format has been lost
- Text highlighter color can’t cover the whole character when the fount is big( source data fount = 20 in word)
- The header string becomes to link style
- Page background has been lost
Attachments (2)
Change History (4)
Changed 11 years ago by
Attachment: | Eleanor testing.docx added |
---|
Changed 11 years ago by
Attachment: | Copy from word screenshot.docx added |
---|
The screenshot for copy from word result
comment:1 Changed 11 years ago by
Best "paste from word" results can be achieved with below settings:
var editor = CKEDITOR.replace( 'editor1', { allowedContent : true, pasteFromWordRemoveFontStyles : false, pasteFromWordRemoveStyles : false });
CKEditor gets data processed by browser. First browser gets to HTML then CKEditor receives it.
The above configuration should help, at least with Indent and Alignment, but this is the HTML that browser sees and editor gets.
Header has lots of anchors in front, Page background is not known, alignment and indentation looks all the same.
In fact the only thing that might be fixed here by editor is styles marging ( which would solve point 3 ) but this will be fixed in CKEditor 5 at the earliest.
I'm closing this issue as won't fix because there is nothing CKEditor can do here.
comment:2 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Version: | 4.4.1 |
Word data source