I am working with a Javascript Text Editor, microsoft has built in features to allow for ordered list and unorderedlist.

I am trying to develop an add on, a little bit more then numbers and dots, I would like to add letters, roman numers, disc etc.

the command to create a list is

(object is a textrange)