I am doing this as a form builder *wdiget*, which outputs both the textarea and the format selection drop down. But I'm not sure how it would work as a data type.
I you could sketch out the design you have in mind, I could probably do it.
/Lars