tango icon indicating copy to clipboard operation
tango copied to clipboard

Added router function for WP-Admin bar links for #3

Open thoronas opened this issue 9 years ago • 2 comments

Solution for #3 Might not be most elegant solution but I don't know page.js very well. ¯_(ツ)_/¯

thoronas avatar Jul 27 '15 01:07 thoronas

This is cool! It has two issues though:

  • the Logout link in the "howdy..." menu would still need to be accounted for
  • browser history breaks (clicking through to the admin and then clicking Back in the browser doesn't work)

It may make more sense to have page.js selectively ignore everything in the admin bar, but I'm not sure how to do that (docs mention a click: false option for selective binding which might help).

kwight avatar Jul 28 '15 15:07 kwight

Thanks, didn't see an easy way to do selective ignoring of links. Will play around with click: false

Good to know about the history issue, didn't think about that.

thoronas avatar Jul 30 '15 20:07 thoronas