Okay, what should I put in the onClick Javascript area for a new BBCode to get it to wrap the tags around the currently selected text. I would like it to function like it does when they click on the B icon for making text bold or like it does for the BBCodes here. On my installation, the Bold button works as desired, but the BBCode entries simply stick it on the end and ignore whatever text I have highlighted.