Opened 8 years ago

Closed 8 years ago

#14333 closed Bug (invalid)

Wrong alignment for Hebrew text pasted with "Paste from Word" plugin

Reported by: Jan Hejl Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version: 4.4.3
Keywords: Hebrew alignment Cc:


Steps to reproduce

  1. Paste Hewbrew text from the attached Word file to CKEditor via "Paste from Word" plugin (icon)
  2. Save

Expected result

On the 3rd line chars "[!]" (without quotes) should be at the begining of the line, but are at the end of line. Same for apostrophe on the 8th line.

Actual result

Other details (browser, OS, CKEditor version, installed plugins)

Drupal 7 CKEditor module 7.x - 1.16 CKEditor library from CKEditor Paste from Word plugin

When you paste the text to the CKEditor window it is shown on the left side before save. But when you switch to plain text editor you can see source is already broken:

<p align="center" style="text-align:center;"><span dir="RTL"><span style="font-size:10.0pt;">יראת אלהיב</span></span><span dir="RTL"><span style="font-size:10.0pt;">[!]</span></span></p>

, switching back to the CKEditor shows the text in original pasted format - all before the first node save. After saving the node CKEditor show the text same as the source code.

It is also different when you open the document with Word 2010 and OpenOffice Writer.

Attachments (1)

ckeditor_hebrew_example.docx (15.4 KB) - added by Jan Hejl 8 years ago.
Hebrew text example

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Jan Hejl

Hebrew text example

comment:1 Changed 8 years ago by Jan Hejl

Resolution: invalid
Status: newclosed

Sorry, my mistake. Drupal 7 filltered HTML ommit dir="RTL" setting, which cause the error. CKEditor works good!

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