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
TitleReferenceAuthorSource BranchDest Branch
add ci for design-style-guiderepos/sre/miscweb/design-style-guide!1jeltoadd-cimaster
add miscweb design-style-guide to Trusted Runnersrepos/releng/gitlab-trusted-runner!61jeltoadd-design-style-guidemain
add ci for design-landing-page image buildrepos/sre/miscweb/design-landing-page!2jeltoadd-ci-1master
add ci for design-strategy image buildrepos/sre/miscweb/design-strategy!1jeltoadd-cimaster
add ci for design-landing-page image buildrepos/sre/miscweb/design-landing-page!1jeltoadd-cimaster
add ci for design-blog image buildrepos/sre/miscweb/design-blog!1jeltoadd-cimaster
add design miscweb projectsrepos/releng/gitlab-trusted-runner!59jeltoadd-design-projectsmain
run existing lint job in gitlab-cirepos/sre/miscweb/research-landing-page!9jeltoadd-test-job-cimaster
Customize query in GitLab

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!