Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Data loss when switching among template editor tabs

Open
#378 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react
Domain
frontend

Research direction

Start by reproducing the scenario in the template editor: delete a code block, switch to the Test Data tab, return to the HTML tab, and try Undo. Trace how each tab preserves editor state and undo history. Done means the deletion can be undone after switching tabs, without losing the existing tab behavior.

Written by the indexing model from the issue text.

Description

Scenario:

  1. Debug a template, run into an error
  2. Delete the offending code block.
  3. Encounter a different, earlier, error (which is odd but another issue - #377), about substitution values
  4. Go to the Test Data tab to check the substitution values
  5. Come back to the HTML tab
  6. Try to Undo the deletion of the code block from step 2.

Result: no undo. The code block is lost.

I expect a template editor with syntax highlight to behave like a code editor, and offer basic undo.

Sparkpost data loss

Dominant language
API Blueprint
Stars
18
Forks
9
Avg merge
2d 5m
Merged PRs (30d)
8

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SparkPost/developers.sparkpost.com

All issues in SparkPost/developers.sparkpost.com

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.