Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

CodeMirror does not work with html5 "required" attribute #3002

Description

@sandermarechal

CodeMirror does not seem to work with the html5 "required" attribute. It seems that browser HTML5 validation happens before CM updates the underlying textarea.

Other javascript editors that replace the textarea (e.g CKEditor) do not have this problem, so it seems this is an issue that should be fixed in CodeMirror.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions