Skip to content

[EuiCodeEditor] readonly mode is not accessible #2960

@myasonik

Description

@myasonik

Summary

When setting isReadOnly, react-ace doesn't set the textarea to read only

Expected output HTML

<textarea readonly="true" />

Example of potentially how to implement this can be found in Kibana: editor_example.tsx#L34-L45

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions