Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MB 113 posts 422 karma points
    Nov 08, 2019 @ 23:56
    MB
    0

    Adding custom action button to V7 BackOffice

    As per title, I want to add a custom-action button to the left of the standard editor-actions button. The purpose is to give admins a really obvious way to view the live page at the current node, because ex-WordPress admins keep clicking the [Preview] button, which creates a new version (a long standing bug) that is an utter PITA to clear - there really needs to be a 'delete draft' option, but that's a separate topic.

    Something like below. The part I'm not so clear on is how to add a button to the 'editor-actions' div, without resorting to an ugly hack.

    Any suggestions or pointers to docs would be appreciated.

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft