Just tested it on my machine. PageEdit detects changes by comparing the file upon load with the file at close or at a transition point. From my testing it detects the code we need to inject to simulate dark mode as a "change" even though it is stripped out before the save is done.
I will look into fixing it for the next release. To workaround it simply skip the save if no change happened, or use light mode, or in dark mode uncheck the preference to simulate dark mode in PageEdit.
|