Hi Alex,
In another related thread, Gilles reported that adding elements to the dropdown didn't work for 6.1 and would be added in 6.2.
He also said that the demonstration for adding elements to the headerbar is currently not working. Unfortunetly, there doesn't seem to be a fix out for it yet.
My solution has been to add a clientlib with the category: "cq.authoring.editor.hook" (a la the "back to sites" example at the bottom of this page here). Then i programmatically with javascript add buttons to the header, for example:
var trashbutton = $("<a>"); trashbutton.attr("href","#pageaction-trashpage") trashbutton.addClass("coral-Link") trashbutton.addClass("editor-GlobalBar-item"); trashbutton.attr("id","trashtrigger"); trashbutton.attr("title","trashpage"); trashbutton.attr("data-iconsize","S"); trashbutton.attr("data-align-from","right"); trashbutton.attr("data-toggle","right"); trashbutton.attr("data-within","right"); trashbutton.attr("data-align","left"); trashbutton.attr("data-minimal","true"); trashbutton.attr("data-point-from","bottom"); var tbi = $("<i>"); tbi.addClass("coral-Icon"); tbi.addClass("coral-Icon--delete"); tbi.addClass("coral-Icon--sizeS"); $(".editor-GlobalBar-leftContainer").append(trashbutton); $(document).on("click","#trashtrigger", function() { var path = Granite.author.ContentFrame.currentLocation(); var ajaxpath = path.substr(0, path.indexOf(".html")) + ".trash"; $.ajax({ type: "POST", url: ajaxpath, success: function(msg) { console.log(msg); //refresh the page jQuery(Granite.author.ContentFrame.getDocument()).find("#trashnote").show(200); $("#trashtrigger").hide(); $("#untrashtrigger").show(); } }); });This runs a servlet request to [path/to/page].trash which marks it as trash (a piece of custom functionality), but you can do any number of things with the native js apis.