-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to block publishing per-checklist item #8
Comments
This would be very useful! |
This should be possible now that wp.data.dispatch('core/editor').lockPostSaving('publication-checklist.featured-image')
// unlocking
wp.data.dispatch('core/editor').unlockPostSaving('publication-checklist.featured-image') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From our documentation, it appears that we can turn on blocking of publishing a post for all checklist items or not at all via
altis.publication-checklist.block_on_failing
config option.However, it would be quite useful to make some checklist items blocking, but not all.
As an example, let's say we have two items on a publication checkilst:
Item one is an important reminder, but should not block publishing a post in some situations. Item two is an absolute 100% must-never-happen item and this should always block an editor from publishing.
The text was updated successfully, but these errors were encountered: