mindmup/bootstrap-wysiwyg — pull request #46 by jordandh (2013-04-17 21:12:14+00:00)
Title: Changed the toolbar button selector to be more general

Changed the toolbar button selector from a to a, button, and input[type=button]

You didn't like changing the selector to target .btn because it tied it to the css. I think you are right. That is a bad way to do it. Instead this selector targets semantically clickable elements: a, button, and input[type=button].

This change also makes the updateToolbar method use the same selector.