Composer Button Tooltips
I see we now have tooltips on (most of) the composer buttons thanks to this:
I wrote a plugin that uses
composer.addButton()to add buttons to the composer. I'd like to add tooltips to my buttons, but
formatting.addButton()for that matter) doesn't give me a way to pass a title down.
I can do it the way the markdown plugin does it (add the title by hooking on to
filter:composer.formattingand then calling
formatting.addButtonDispatch()), but that's a lot more work than just calling
composer.addButton()on the client side.
What do the powers-that-be (I'm guessing @baris mostly) think about adding a way to pass the title to
Yes that makes sense, I will make that change.
@baris Just tried out 3.0.27, works great, thanks! There's still one difference: with
filter:composer.formattingthe text is run through the translator automagically, but with
composer.addButton()I have to translate it first. Not a big deal, just pointing that out...