Unfortunately the javascript seems to be broken.
sel.length returns "undefined" so I never enter the for loop
If I change "sel.length" with a number (say 1) then the javascript craps out on sel(i) (looks like I cant access it as an array)
I can do...
var str = sel.text
for (i = 0; i < str.length; i++)
....
But then I still can't extract the tagName.
I could wrap str with.... <font style="font-size:" + value + "px">str</font> but I'm assuming that this could cause problems if an Image is part of the selection (which I think you are trying to check for in the code).
Ideas/Suggestions?
Thanks