Warn about unsaved changes in code editor mode

If the user has unsaved changes in code editor mode, clicking on the basic mode button looses all changes and reverts back to the last saved version without warning the user.

Please move the save button to the top instead of the bottom of the page. Also implement a button to revert changes. As the user starts to make edits, both buttons would show above the editor. Clicking on “Basic Mode” would warn the user and ask to save or revert instead of silently reverting.

1 Like