Bug 240778 - Breaking out of a quoted reply block by inserting a new paragraph should reset writing direction
Summary: Breaking out of a quoted reply block by inserting a new paragraph should rese...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-22 16:16 PDT by Wenson Hsieh
Modified: 2022-05-23 19:07 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2022-05-22 16:16:03 PDT
Specific repro steps in Mail, on macOS:

1. Set system language to an RTL language, such as Hebrew or Arabic.
2. Switch to an LTR input language/locale, such as en_US.
3. Reply to an email with LTR content.
4. Set the selection inside the quoted content, and hit enter to break apart the blockquote.
5. Type anything (e.g., "hello")

Expected: the text inserted in step 5 should be LTR.
Observed: the text inserted in step 5 is RTL.
Comment 1 Wenson Hsieh 2022-05-22 16:22:34 PDT
rdar://14839536
Comment 2 Wenson Hsieh 2022-05-22 16:59:15 PDT
Pull request: https://github.com/WebKit/WebKit/pull/898
Comment 3 EWS 2022-05-23 19:07:47 PDT
Committed r294714 (250901@main): <https://commits.webkit.org/250901@main>

Reviewed commits have been landed. Closing PR #898 and removing active labels.