Skip to content

Add readOnly for mode=code #360

@cope

Description

@cope

We are adding the 'jsoneditor-readonly' class to make the jsoneditor look like mode=code, but readOnly.

It would be nice if there was a proper way to accomplish this, as well as to specify a readOnly theme. For example, I would love to use eclipse theme for regular code mode, and then dawn theme for code mode which would then be readOnly=true...

One can see here that the Ace editor has readOnly as an option. It would be nice if this was also available in the jsoneditor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions