Page MenuHomePhabricator

VisualEditor mis-positions caret in RTL text
Closed, DeclinedPublic

Description

Steps to reproduce:

Expected result:

  • "-" appears at the caret position within the hebrew text

Actual result:

  • "-" appears at 3/4 through the hebrew text

Amir's put together a rough draft document at https://www.mediawiki.org/wiki/Visual_editor/Bidirectional_text_requirements with more background detail on bidirectional text issues and what needs to be supported.


Version: unspecified
Severity: normal
URL: https://www.mediawiki.org/wiki/Special:VisualEditorSandbox

Details

Reference
bz33079

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:09 AM
bzimport set Reference to bz33079.

I love that people are trying to use this editor with RTL text.

We haven't tried to do this yet at all, but as you mentioned, it's planned for sure.

Mainly I just want to make sure it's in the bug tracker for future reference. :D

Can you install it on some RTL wiki? he.wikisource is often used as a testbed. Or in labs somewhere.

Mass-moving items into VisualEditor product

We're generally not intending wider deployment on a real wiki right now (imposing it on the MediaWiki.org community is taxing enough). Perhaps a labs deployment in HE would work (and one in a CJK language, at minimum)? But more to the point, none of the team use RTL or CJK languages so 'testing by inspection' is more challenging. :-)

Mass-move out of "General" to "ContentEditable".

(In reply to comment #6)

We're generally not intending wider deployment on a real wiki right now
(imposing it on the MediaWiki.org community is taxing enough). Perhaps a labs
deployment in HE would work (and one in a CJK language, at minimum)? But more
to the point, none of the team use RTL or CJK languages so 'testing by
inspection' is more challenging. :-)

Ask me to test any time.

orbit wrote:

I've been testing RTL here:
http://framezero.com/work/wikia/VisualEditor/demos/ve/index.php

The HTML tag sets lang="he" and dir="rtl". Pasting the above hebrew text results in a section of bi-directional text and typing appears to work.

Verified on my own installation. Great!