Skip to content

[FEAT] Add a Reset button to clear all editor tabs back to default state #143

@devendra-w

Description

@devendra-w

Problem

Once users start editing, there's no quick way to clear all editors and start fresh without manually deleting all code.

Expected Behaviour

  • A Reset button in the toolbar
  • Clicking it shows a confirmation dialog
  • On confirm, clears HTML, CSS, and JS editors back to empty/blank template state

Implementation Notes

  • Add a reset handler that calls setCode with empty strings
  • Show a window.confirm() or a simple modal before resetting
  • Clear localStorage autosave on reset

Difficulty

Intermediate

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions