Skip to content

REPL breaks when deleting attributes #496

@AdrianGonz97

Description

@AdrianGonz97

Describe the bug

The REPL breaks while deleting whole words (CTRL + Backspace) on an element's attributes.

I've been able to consistently get it to error when you start deleting from an attribute that's assigned to a string literal (.e.g., value="press me" in this case).

gif example of the issue

Reproduction

https://svelte.dev/repl/8abeb99dab034b93a4522a0ba80b1a19?version=4.0.0

Logs

No response

System Info

Issue occurs on Chrome

Severity

annoyance

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