24. April 2012 19:28
Solution is rather simple, you can find it in downloadable section in the end of the post.When you select word “SharePoint” in the rich text area, button become active. The only trouble that I have is to make custom button smaller. I’ve tried different TemplateAlias (o2, bold, italic as in cmdui.xml), but button appear only if using o1, may be I missed something, but can’t figure out it. Now it looks like this:
Download solution here (10.05 kb) and good luck in spdevelopment.