Skip to content

Undo can reset code editor to blank contents #5263

@cesarmr-github

Description

@cesarmr-github

Current Behavior

When you press CONTROL Z several times to undo changes, when there is no more to do, what it does is delete the entire file. Instead of making it stay as it was originally.

Expected Behavior

That it is not completely erased, and remains as it was when you opened it.

Steps to Reproduce

https://streamable.com/3kssm8

Panel Version

1.11.10

Wings Version

1.11.13

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

No response

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as it's intended to be.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions