Opened 3 years ago

Closed 3 years ago

#13866 closed Bug (expired)

Content Loses Formatting When Copied From Citrix Session into Local CKEditor Instance

Reported by: James Thomas Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version:
Keywords: Cc:

Description

Content that is pasted from a Citrix-delivered application (Word, Outlook, etc.) loses formatting when pasted into a non-Citrix delivered browser. Examples of lost formatting are bold, valid bullets (created with Word bullet tool vs. "fake" typed bullets) that should be transformed into <ol> and <ul></li> structures are instead changed to HTML entities (&bull; with trailing &nbsp;).

Pasting into IE 11 from Citrix to local does retain bullet formatting, but loses bold formatting, and extra <p> tags are injected where there should be none.

Screenshots of each condition/result and source are provided. Primary platform is Windows 7, Citrix is also on Windows Server 2008 R2.

Attachments (1)

CKEditor Citrix Issues.zip (250.7 KB) - added by James Thomas 3 years ago.
ZIP archive containing PNG screenshots of various issues in browsers

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by James Thomas

Attachment: CKEditor Citrix Issues.zip added

ZIP archive containing PNG screenshots of various issues in browsers

comment:1 Changed 3 years ago by Jakub Ś

Status: newpending
Version: 4.5.4

Content that is pasted from a Citrix-delivered application (Word, Outlook, etc.) loses formatting when pasted into a non-Citrix delivered browser.

I'm not familiar with Citrix products. Could you tell me if that Word is standard MS Word or some custom version?

  1. Bold and other styles - you can fix that with appropriate ACF settings and http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles, http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveStyles
  1. As for the lists - IE's are best in translating Word content while Chrome is the worst. From what I have checked however even fake bullets are translated quite well when pasted from MS Word into Chrome.
    Could you perhaps provide document that is causing problems for you. From what I have seen that list looked like regular HTML page. Perhaps that translated content creates HTML that you see in editor?

NOTE:
To read more about ACF, please see:
http://docs.ckeditor.com/#!/guide/dev_acf
http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
http://docs.ckeditor.com/#!/guide/dev_disallowed_content
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
http://nightly.ckeditor.com/14-03-20-07-05/full/samples/datafiltering.html

comment:2 Changed 3 years ago by James Thomas

Standard MS Word 2010 - Citrix is just the delivery mechanism similar to VDI/RDP.

  1. Bold and other styles - thing is, pasting from local (non-Citrix) Word to IE/Chrome/Firefox works perfectly - all bold formatting, UL/LI carry over perfectly from Word (same Word version that is being served up via Citrix). It only happens when going from a Citrix-published app to a local browser running CKEditor 4.5.4.
  1. The Word document is nothing special - as I mentioned, it was created in Word, and the true bullet elements were used (versus making "fake" bullets with tabs and character entities). No special formatting, and no hyperlinks or other items of significance. I have tested this with other sample documents and the results are the same.

Something I have been looking into myself is Citrix has pasteboard issues (translating the Citrix-based pasteboard over to the local pasteboard), and this might be causing the issues. I've got our local IT looking into that and will report anything if we discover it to be the cause, but I wanted to bring it to your attention since other users might be in a similar scenario.

comment:3 Changed 3 years ago by Jakub Ś

It only happens when going from a Citrix-published app to a local browser running CKEditor 4.5.4.

Something I have been looking into myself is Citrix has pasteboard issues (translating the Citrix-based pasteboard over to the local pasteboard)

Looking at the results I have got with local MS Word and what you have written, this in fact may be Citrix problem with copy/paste translation. If you have any new findings, please add a comment.

Would it be possible perhaps to provide me test access to your application? I could then check how browser alone (without editor reacts to such list) sees that content. If you could provide such access, I will contact you via email.

comment:4 Changed 3 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy