Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#6086 closed Bug (fixed)

Pasting mixed BiDi content from Word removes spacings

Reported by: Roni Biran Owned by: Garry Yao
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version: 3.3.1
Keywords: Cc:

Description

While trying to use mixed Hebrew-English text, as can be seen in image "01.bmp" I am getting the output seen in image "02.bmp"

You can see that in the vicinity of mixed language (where there are no punctuation marks) a separation (space) is missing.

I must say that in the previous version, this problem did not exist, still I would like to use this one due to its excellent improvements.

Attachments (4)

01.bmp (196.5 KB) - added by Roni Biran 7 years ago.
02.jpg (58.4 KB) - added by Roni Biran 7 years ago.
test.doc (21.5 KB) - added by Roni Biran 7 years ago.
a word file containing bidi texts. just copy it and paste in the text editor to find that the bidi text is without spaces
6086.patch (809 bytes) - added by Garry Yao 7 years ago.

Download all attachments as: .zip

Change History (22)

Changed 7 years ago by Roni Biran

Attachment: 01.bmp added

Changed 7 years ago by Roni Biran

Attachment: 02.jpg added

comment:1 Changed 7 years ago by Sa'ar Zac Elias

Resolution: invalid
Status: newclosed

I don't see any problem writing Hebrew and English mixed together. Also, the browser is responsible for the text rendering. Feel free to open the ticket for any new discoveries.

comment:2 Changed 7 years ago by Roni Biran

There is no problem in writing hebrew and english in a single sentence. The problem is in pasting from word mix words in sentence. You can check the HTML source to see that in the HTML a space charecter is missing between the english and hebrew words, as can be seen in the images attached.

comment:3 Changed 7 years ago by Sa'ar Zac Elias

Resolution: invalid
Status: closedreopened

I can confirm the bug when pasting from Word.

comment:4 Changed 7 years ago by Sa'ar Zac Elias

Status: reopenedconfirmed

comment:5 Changed 7 years ago by Sa'ar Zac Elias

Summary: Problem integrating mixed hebrew-english text within CKEditorPasting mixed BiDi content from Word removes spacings

comment:6 Changed 7 years ago by Tobiasz Cudnik

Milestone: CKEditor 3.4.2
Status: confirmednew

comment:7 Changed 7 years ago by Sa'ar Zac Elias

Status: newconfirmed

comment:8 Changed 7 years ago by Paweł Horzela

Owner: set to Paweł Horzela
Status: confirmedassigned

comment:9 Changed 7 years ago by Garry Yao

Milestone: CKEditor 3.4.2
Status: assignedpending

Could you provide the .doc that used to reproduce this bug? Or it's just because of the pasting?

Changed 7 years ago by Roni Biran

Attachment: test.doc added

a word file containing bidi texts. just copy it and paste in the text editor to find that the bidi text is without spaces

comment:10 Changed 7 years ago by Roni Biran

i've added a text file with bidi text. after copying and pasting you will find that the english and hebrew words are without any spacing.

comment:11 Changed 7 years ago by Paweł Horzela

Status: pendingconfirmed

I can reproduce this bug using the .doc from attachment.

Changed 7 years ago by Garry Yao

Attachment: 6086.patch added

comment:12 Changed 7 years ago by Garry Yao

Milestone: CKEditor 3.1
Owner: changed from Paweł Horzela to Garry Yao
Status: confirmedreview

Now I can confirm the bug, comes from the word cleanup processing logics.

comment:13 Changed 7 years ago by Garry Yao

Milestone: CKEditor 3.1CKEditor 3.6

comment:14 Changed 6 years ago by Sa'ar Zac Elias

Works for me on trunk, can you confirm?

comment:15 Changed 6 years ago by Sa'ar Zac Elias

Status: reviewpending

comment:16 Changed 6 years ago by Wiktor Walc

Milestone: CKEditor 3.6

Looks like a duplicate of #6751, it started working correctly exactly in rev. [6557].

@TheNez - could you confirm, that the issue is gone in 3.5.3?

comment:17 Changed 6 years ago by Jakub Ś

Resolution: fixed
Status: pendingclosed

Issue is gone. I have checked it under latest CKEditor 3.6.2

comment:18 Changed 4 years ago by Frederico Caldeira Knabben

Component: Core : PastingPlugin : Paste from Word
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy