[wp-hackers] Buttonsnap updates?
Owen Winkler
ringmaster at midnightcircus.com
Wed Apr 12 11:50:53 GMT 2006
John Vanderbeck wrote:
> Recently I was using buttonsnap to add buttons for my plugin, jPortfolio (
> http://www.jwvanderbeck.com/wordpress-plugins/jportfolio/), and ran into a
> bug in the library that prevents the AJAX Filter based button from working
> properly under Firefox when using the "basic" editor, not the visual rich
> editor. Upon further research I found that the code was using a javascript
> method for getting the selection that is not supported on all browsers
> (There is to my knowledge no standard method for getting the selection). My
> research showed the method used mainly only worked on IE based browsers, and
> possibly Opera, but not Mozilla based browsers.
Hmm. I was using code from the Quicktags plugin, and it seemed to work
to me, but if you say it doesn't...
> I was wondering what I would need to do to get this code change rolled into
> buttonsnap in some form? Since this is a singleton class it really needs to
> be updated for everyone that uses it or else problems may develop.
You've sent me this code already, haven't you? I just need to roll it
in and test it. There are another couple of things that I need to
add/change in Buttonsnap that I'm hoping to do before making a new
official release.
Owen
More information about the wp-hackers
mailing list