I would like a possibility to disable “Save and Publish” button or reject this editor action.
We are afraid of accidental publishing.
After clicking “Save” further flow works perfect for us.
I tried to look into Workflows, but I’m not in favor of adding extra “status” field to the schema.
In our case it will be the same person creating content and scheduling publishing of it, so we don’t really need a workflow.
I also looked into Create and Change scripts to reject editor action, but I couldn’t find operation or status value that could differentiate content items that are just created, from those that are updated.
Create:
ctx.operation == Created
ctx.Status == Draft
Change:
ctx.operation == Published
ctx.Status == Published
I would appreciate, if you could help with a script that does this.
Thanks in advance.
/Andrew