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.

Edit to subdocument causes incorrect tokenization #1253

@njx

Description

@njx

Tested in Mac Chrome 24.0.1312.57

  1. Run the gist at https://gist.github.com/njx/4964129 (next to lib folder)
  2. In the bottom editor (which is linked to the second rule in the first editor), click at the end of the "background" property line
  3. Hit return

Result: In the subeditor, the "background" property turns green, and the token type has changed from "property" to "tag". It's still correct in the main editor.

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