A solution to 1-click publish/unpublish (viewtopic.php?f=4&p=31327#p31322)
Solution effectively recreates action buttons and adds an extra button there.
A click on new button sends an ajax request to the backend. A css trick marks the svg icon with color if page is unpublished. Various types of confirmations employed, so you can disable those you don't want.
Solution effectively recreates action buttons and adds an extra button there.
A click on new button sends an ajax request to the backend. A css trick marks the svg icon with color if page is unpublished. Various types of confirmations employed, so you can disable those you don't want.