wordpress-mobile / wordpress-mobile/AztecEditor-iOS

RTL Issues

Open
#861 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug
Dominant language
Swift
Stars
669
Forks
153
Avg merge
11h 27m
Merged PRs (30d)
4

Description

Description:

The RTL alignment is lost when converting to HTML and back to visual.

We need to evaluate if RTL alignment is normally stored in CSS properties in nodes.

Here's the post before switching to HTML mode:

screen shot 2017-12-14 at 15 13 21

And here's the same post after switching back to visual:

screen shot 2017-12-14 at 15 15 22
How to reproduce

Steps to reproduce:

  1. Edit a post in arabit (image 1).
  2. Switch to HTML mode.
  3. Switch back to visual.

The problem is that the RTL alignment is lost in the conversion.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by editing an RTL post, switching from visual to HTML mode, and switching back. Trace the HTML-to-visual conversion path and inspect how RTL alignment or related CSS properties are represented; done means the alignment is preserved after the round trip.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
frontend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.