Thankyou, this is very helpful.
Í'm also trying to have the text formatting toolbar insert the element, and the Format -> Style -> Bold insert the element.
I'm searching the doco and online resources for how to do this, if you have any pointers that would be appreciated.
Thanks!