I downloaded and installed CKEditor (version 4.1) a week ago in our server and is adapting it for my company's need. It have worked fine so far, but there is one issue I can not find a solution for. It has to do with how Clipboard is used when Google Chrome is the web browser. Everything works fine in Internet Explorer, but in Chrome I have a problem.
I need to copy information between the CKEditor and a local HTML editor. When using Internet Explorer there is no problem. I can use a toolbar button or use the keyboard (like Ctrl C). But security settings do not allow me to use toolbar buttons for clipboard operations in Google Chrome. Instead I must use the keyboard (for example Ctrl C).
Well, this is ok for me. I can instruct Chrome users to use the keyboard instead of the toolbar buttons. But there is one problem.
When I run CKEditor in Internet Explorer and want to copy information from CkEditor to my local HTML editor I will get a clean simple HTML code via clipboard; just as I want. Only the HTML tags that is actually used in CKEditor's editor window is copied to the clipboard. But when I try to do the same operation in Google Chrome (by pressing Ctrl C) the HTML is not simple anymore. The clipboard does not contain the same contents as in CKEditor's editor window. Instead there are very long special tags as:
<SPAN style="TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: small/20px Arial; WHITE-SPACE: normal; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">
included in the clipboard data. This gives my local HTML editor and my program some problems, because it requires a simplified HTML to be able to work.
Is there any solution to this?