Check out a free preview of the full Build Cross-Platform Desktop Apps with Electron course:
The "Revert and Save Buttons" Lesson is part of the full, Build Cross-Platform Desktop Apps with Electron course featured in this preview video. Here's what you'd learn in this lesson:
If a file has been edited, Steve codes the Save and Revert buttons to be enabled.