jonrohan/ZeroClipboard — pull request #50 by jonrohan (2012-12-20 05:01:12+00:00)
Title: .setText gets overwritten by data-clipboard-text element

If we have a button

```html
Click to Copy
```

And glue that element, then when we `setText("New copy text")` it sets the clipboard text to the new text on the `htmlBridge`. But this doesn't change the `data-clipboard-text` attribute on the button. So when the user then hovers over the button, the old clipboard text is reset.

We need to make it so that when text is set via `setText` it overrides all attrs. And the copy text will remain that way until the user does `setText` again, or maybe they `resetText`? I think this is the correct behavior, but I'm unsure.