#11005 closed Bug (invalid)
Asp.Net CKEditor "Past From Word" not maintining original format
Reported by: | rama | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Plugin : Paste from Word | Version: | 3.6.4 |
Keywords: | Cc: |
Description
Hi Team,
I am trying to copy some data from MS-Word to CKEditor but it's not giving original MS-Word format. CKEditor removing some tags like MSONormal.Because of this format is disturbing. I want same as it as what is there in MS-Word.
I already configured below tags but still it's not giving proper format config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordRemoveStyles = false;
I attached sample MS-Word Document for reference.
My DLL details as below File Name : CKEditor for ASP.NET Version : 3.6.4.0
Please suggest me what to do.
Regards, Rama
Attachments (1)
Change History (4)
Changed 11 years ago by
Attachment: | Test_WordDoc.docx added |
---|
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
You may use CKE 4.2.2 client-side with CKE ASP.NET 3.6.4 server side.
- Go to CKEditor site and download CKEditor 4.2.1 FULL Package
- Extract it into ckeditor folder
- Go to your_ckeditor_aspnet/_Samples/ and replace existing ckeditor folder with the one you have downloaded.
The only thing you won't be able to set from ASP.NET Control is ACF:
http://ckeditor.com/blog/Upgrading-to-CKEditor-4.1
http://ckeditor.com/blog/CKEditor-4.1-RC-Released
http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
http://docs.ckeditor.com/#!/api/CKEDITOR.filter-method-addTransformations
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-extraAllowedContent
which you would have to configure or disable in ckeditor/config.js file.
comment:3 Changed 11 years ago by
Component: | Core : Pasting → Plugin : Paste from Word |
---|
This isn't support site but place for reporting bugs in editor. Please use forum fot that.
You could try using http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordCleanupFile and http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent set to true. That way you have the choice whether to paste word code or cleaned HTML.
We don't provide out of the box option to paste Word code. You have to understand that CKEditor is HTML editor and not any code editor. So even if no filtering is done then still some WORD code might get removed.