Opened 12 years ago
Closed 8 years ago
#9331 closed Bug (fixed)
Pasting text creates simple Caesar cipher
Reported by: | Lars Vising | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Plugin : Paste from Word | Version: | 3.5.3 |
Keywords: | IE | Cc: |
Description
When pasting text from a Microsoft word document some text is scrambled in a rather interesting way. The attached file contains the word 'rubrik' on the second row. When pasting the whole contents of the file the word 'rubrik' appears as 'qtaqhk'. Rather funny as q preceeds r and t preceeds u but the last character 'k' is not converted.
Attachments (1)
Change History (10)
Changed 12 years ago by
Attachment: | ckBugWord1.docx added |
---|
comment:2 Changed 12 years ago by
Keywords: | IE added |
---|---|
Status: | new → confirmed |
Version: | → 3.5.3 |
Problem has been reproducible in all versions of IE from CKEditor 3.5.3 and first got broken in rev. [6585]
Browsers see this element as:
<p style="margin: 0cm 0cm 0pt 36pt;" class="MsoListParagraphCxSpFirst"><span lang="SV"><font face="Calibri">rubrik<o:p></o:p></font></span></p>
- Till rev. [6584] it was pasted as indented paragraph
- From rev. [6585] - [6615] two indented elements (also this ) were pasted as empty list:
<ul> <li> </li> <li> </li> </ul> <p style="margin-left: 36pt;"> </p>
- From rev. [6616] this element is pasted as
<ol style="list-style-type: lower-alpha;"> <li value="211152199"> </li> </ol>
From this revision in WYSIWYG you can see qtaqha
(which can't be selected) and list next to it (you can see it if you look at elements path)
comment:3 follow-up: 4 Changed 12 years ago by
@lavi how are you making this word in docx file?
This is just indented word or does it have some additional styles?
comment:4 Changed 12 years ago by
Replying to j.swiderski:
@lavi how are you making this word in docx file?
This is just indented word or does it have some additional styles?
Yes, it's just indented word, at least that was my intention when making the file. I tried to reproduce the file withoud 'dummy' words and transcribe the word 'rubrik' in english before submitting the bug report - but then the bug did not appear in the new file. Some minor detail in the docx file produces the error?
comment:5 Changed 12 years ago by
Browser sees your docx as:
<p style="margin: 0cm 0cm 0pt 36pt;" class="MsoListParagraphCxSpFirst"><span lang="SV"><font face="Calibri">rubrik<o:p></o:p></font></span></p>
and after just indenting the text you get:
<p style="margin: 0cm 0cm 10pt 18pt;" class="MsoNormal"><span style="mso-ansi-language: PL;" lang="PL"><font face="Calibri">test<o:p></o:p></font></span></p>
Problem is that class="MsoListParagraphCxSpFirst"
is needed to reproduce this problem and I was not able to get it.
comment:6 follow-up: 7 Changed 12 years ago by
@lavi any chance for any piece of information on how this element can be created or was this one time "accident"?
comment:7 Changed 12 years ago by
Replying to j.swiderski:
@lavi any chance for any piece of information on how this element can be created or was this one time "accident"?
I have not been able to reproduce the document, so it can be considered a one time accident. The creation of the document involved adding and removing a table and removing empty bullet points. Also I have noticed that upon page refresh the word rubrik will render correctly in IE
comment:8 Changed 11 years ago by
Component: | General → Plugin : Paste from Word |
---|
comment:9 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Fixed with new Paste From Word plugin in 4.6.0.
This will happen at least when pasting text using IE9 (version 9.0.8112.16421) using win7 pro (64-bit). Editing the file will produce various changes in the word 'rubrik', editing the word will produce different results. Sometimes you can expect to get 'qtaqhk' or parts of it or just some character instead of the whole word. The bug can be seen on the demo page of ckEditor.