I have a button inside a Firebug panel. On click this must change the padding of an element on the web page, like how editing attributes in the style tab does.
I tried getting the document using this.context.window.document and passing it inside an object to the domplate. But, to no luck.
How do I get hold of the web page's document inside an on click function in domplate or is there another way to manipulate the web page's elements?