You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(value-editor): drop the E2E textarea fork
The E2E ? textarea : Highlight fork was added in 2022 as a TestCafe
workaround. Playwright landed in March and drives a contenteditable with
fill(), so every E2E assertion about this editor has been running against
a textarea that only exists during tests.
placeholder and readOnly only ever worked on that textarea, so they go
with it, along with the three call sites passing them.
Highlight takes role and aria-readonly from the caller rather than
deriving them from onChange, so ValueEditor can name its read-only
editors while the code blocks that also use Highlight stay unlabelled.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments