Opened 11 years ago

Last modified 10 years ago

#11607 confirmed Bug

Custom direction "rtl" set for body in fullPage mode is reverted to "ltr" in data

Reported by: Olek Nowodziński Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:

Description

  1. Create editor with config.fullPage = true
  2. Set HTML:
    <html>
    <head>
    	<title></title>
    </head>
    <body dir="rtl"></body>
    </html>
    
  3. Show source/getData.

Expected: The same HTML as set in 2.

Actual:

<html>
<head>
	<title></title>
</head>
<body dir="ltr"></body>
</html>

The origin I discovered the bug with docprops plugin, which brings Language Direction field in its dialog.

What's wrong? First bad commit is git:751e298cca8. It's fine in 3.6.x.

Attachments (1)

11607.html (555 bytes) - added by Olek Nowodziński 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Olek Nowodziński

Attachment: 11607.html added

comment:1 Changed 11 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 10 years ago by Daniel Cohen Gindi

I've just found the source of this bug. It is the SCAYT plugin. I've sent a pull request, and hope the CKE team will pull it soon.

https://github.com/WebSpellChecker/ckeditor-plugin-scayt/pull/91

As a temporary fix you can disable SCAYT.

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