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.

[closetag addon] whenClosing and whenOpening default to false if object is use for initialization #6322

Closed

Description

@goozak

This code portion

... CodeMirror.fromTextArea(..., {
    ...
    autoCloseTags: {
        indentTags: ['tag1', 'tag2', 'tag2']
    },
    ...
});

Results in all tags not being closed. whenClosing & whenOpening do not default to true when using an object — they need to be explicitly added.

Activity

  1. added a commit that references this issue on Oct 31, 2020
    14d7274
  2. added a commit that references this issue on May 1, 2024
    ddb3334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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