-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Through a combination of text-orientation: mixed; and writing-mode: vertical-rl;, you can achieve vertical text. This is useful for some writing forms. Shown here, a 12th century Japanese scroll:
Beyond enabling vertically written languages, the orientation can also have decorative properties:
We should consider adding support via the Typography panel. An initial version could be a single directional toggle, similar to that of Layout blocks:
This should be fairly simple to implement, as it's a matter of adding writing-mode to paragraphs:
writing-mode: vertical-rl;
Note that the rl part would have to be derived from the general writing direction (LTR needs vertical-rl, RTL needs vertical-lr).
Depending on the utility, the feature could theoretically be expanded in the future with glyph orientation (text-orientation). But I want to emphasize the following mockup would be a future followup, and the design control and iconography could use feedback:
The above would require the addition of text-orientation: upright; (where text-orientation: mixed; is otherwise a good adaptive default).
Metadata
Metadata
Assignees
Labels
Type
Projects
Status



