Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#9424 closed Bug (invalid)

CKEditor Paste from Word feature - font size problem (mso-bidi-font-size)

Reported by: Ganesh Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version:
Keywords: Cc:

Description

CKEditor does not carry over the formatting from word document while copy and paste from word. especially if the word document style contains span tags with "mso-bidi-font-size".

Attaching the html source from word document below:

=============================================================== <div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt; mso-border-bottom-alt:solid windowtext .5pt;padding:0cm 0cm 1.0pt 0cm">

<h1 style="page-break-after:auto;tab-stops:90.0pt;border:none;mso-border-bottom-alt:

solid windowtext .5pt;padding:0cm;mso-padding-alt:0cm 0cm 1.0pt 0cm">

<span style="font-size:11.0pt;mso-bidi-font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;

font-weight:normal;text-decoration:none;text-underline:none">&nbsp;</span></h1>

<h1 style="page-break-after:auto;tab-stops:90.0pt;border:none;mso-border-bottom-alt:

solid windowtext .5pt;padding:0cm;mso-padding-alt:0cm 0cm 1.0pt 0cm">

<span style="mso-bidi-font-size:12.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-variant:

small-caps;text-decoration:none;text-underline:none">Section </span><span style="font-size:11.0pt;mso-bidi-font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; text-decoration:none;text-underline:none">206<span style="mso-tab-count:1">&nbsp;&nbsp; </span></span><span style="mso-bidi-font-size:12.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-variant: small-caps;text-decoration:none;text-underline:none">External Branch and OSJ Inspections (FINRA, SEC, State &amp;</span></h1>

<h1 style="page-break-after:auto;tab-stops:90.0pt;border:none;mso-border-bottom-alt:

solid windowtext .5pt;padding:0cm;mso-padding-alt:0cm 0cm 1.0pt 0cm">

<span style="mso-bidi-font-size:12.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-variant:

small-caps;text-decoration:none;text-underline:none"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Financial Institution Regulators)</span><span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; font-variant:small-caps"><a name="_Toc321051627"></a></span></h1> </div> <p class="MsoNormal">

<span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>

<p class="MsoNormal">

<span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Periodically regulatory organizations conduct examinations of branch and non-branch locations of registered broker-dealers.<span style="mso-spacerun:yes">&nbsp; </span>These examinations can be random or specifically selected based on regulatory &ldquo;red flags.&rdquo;<span style="mso-spacerun:yes">&nbsp; </span>In any event, such examinations are sometimes conducted on an unannounced basis.<span style="mso-spacerun:yes">&nbsp; </span>In the event of the commencement of such an examination, the Designated Supervisor must immediately contact the Compliance Department.<span style="mso-spacerun:yes">&nbsp; </span>Personnel should request identification (ID badge, business card, etc.) prior to contacting the Home Office so that the names of the examiners and their organization can be communicated to IFA&rsquo;s Compliance Department.<span style="mso-spacerun:yes">&nbsp; </span></span></p>

<p class="MsoNormal">

<span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>

<p class="MsoBodyTextIndent" style="margin-left:0cm">

<span style="font-size:11.0pt">If a regulator asks to interview a registered person, that person must immediately contact his/her supervisor and participate in the interview only in the presence of a representative of ING U.S. Legal Services, the CCO or their designee.</span></p>

<p class="MsoNormal">

<span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>

<p class="MsoBodyTextIndent" style="margin-left:0cm">

<span style="font-size:11.0pt">Offices should fully cooperate with any requests by the examiners to inspect routine books and records.<span style="mso-spacerun:yes">&nbsp; </span>All written communications and all written or oral requests for information must be communicated immediately to IFA&rsquo;s Compliance Department.<span style="mso-spacerun:yes">&nbsp; </span>This communication must be made prior to responding to the request.<span style="mso-spacerun:yes">&nbsp; </span>Under no circumstances should an Associated Person of IFA respond to an inquiry without the approval of the Legal Department and the CCO.</span></p>

<p class="MsoNormal">

<span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>

<p class="MsoNormal">

<span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Subsequent to the examination, any formal or informal communication from the regulator requesting additional information or communicating findings of an examination must be immediately forwarded to IFA&rsquo;s Compliance Department.<span style="mso-spacerun:yes">&nbsp; </span></span></p>

<p class="MsoNormal">

<span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>

<p class="MsoPlainText">

<span style="mso-bidi-font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Copies of all correspondence to or from regulators in connection with the office examinations must be maintained in a readily accessible location in the branch office&rsquo;s files for a minimum of four years from the date of the most recent document in the file (e.g. the response letter).<span style="mso-spacerun:yes">&nbsp; </span>Copies of any documentation provided to or received from regulators should be forwarded to IFA&rsquo;s Compliance Department.<span style="mso-spacerun:yes">&nbsp; </span>All records pertaining to regulatory examinations will be maintained in the Home Office for a period of at least four (4) years.<span style="mso-spacerun:yes">&nbsp; </span></span></p>

Attachments (1)

CK_Sample word document.docx (18.7 KB) - added by Ganesh 12 years ago.
Paste from Word Content

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by Jakub Ś

Could you please attach reduced doc file instead of code above?

comment:2 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Plese set these two options in config.js

config.pasteFromWordRemoveFontStyles=false;
config.pasteFromWordRemoveStyles=false;

It should be enough.

I'm closing this ticket as I think it is invalid and config options will help.

If they don't please attach doc file causing the problem and provide what is the expected outcome and the actual (just please don't paste such large code chunks)

Changed 12 years ago by Ganesh

Paste from Word Content

comment:3 Changed 12 years ago by Ganesh

Hi,

We already have the two options you mentioned configured in config.js. It still does not resolve the issue.

I have attached a sample document that we tried. Please help us in resolving this issue.

Regards Ganesh

comment:4 Changed 12 years ago by Jakub Ś

I have left comment in #9426.

comment:5 Changed 10 years ago by Frederico Caldeira Knabben

Component: GeneralPlugin : Paste from Word
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy