Skip to content

A readOnly editor doesn't honor readonly in the textArea#81394

Merged
alexdima merged 3 commits intomicrosoft:masterfrom
ElasticPencil:master
Sep 30, 2019
Merged

A readOnly editor doesn't honor readonly in the textArea#81394
alexdima merged 3 commits intomicrosoft:masterfrom
ElasticPencil:master

Conversation

@ElasticPencil
Copy link
Contributor

Fixing an issue where a readOnly editor will still activate the input controls on mobile devices.

The underlying cause is the TextArea element is missing the readonly attribute.
This change applies the readonly attribute when the editor is created or the configuration changes to editor.readOnly === true.

… controls on mobile devices.

The underlying cause is the TextArea element is missing the readonly attribute.
This change applies the readonly attribute when the editor is created or the configuration changes to editor.readOnly === true.
@alexdima alexdima added this to the September 2019 milestone Sep 25, 2019
@alexdima alexdima merged commit 531522b into microsoft:master Sep 30, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants