I have a saveUI
processor and I only want to run my code if the user clicked the save button in Page Editor. I've tried checking the context like:
Sitecore.Context.PageMode.IsPageEditor
but it's always false. My guess is that the processor isn't in the right context.
How do I go about checking where the click was from? Is the "sender" indicated in the args somewhere?