Skip to content

Toggle comments broken on v10.0.0-beta2 #390

@brupelo

Description

@brupelo

Version: v10.0.0-beta2

Consider this little snippet:

export default function Foo(props) {
  return (
    <div>
      <Foo>
      </Foo>
    </div>
  );
}

And now try to comment/uncomment an inner block of code, ie:

showcase

You can see 2 examples of comment/uncomment not working:

  1. If i select a block of code and comment/uncomment without selecting anything else will fail
  2. If i select a block of code, comment and then I reselect the entire commented block it will also fail

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions