Stefano wrote:

Neil <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...


Stefano wrote:

BUT if i select only table i get text of selection but I don't get markup Selection!!!!

I'm guessing wildly that the way you are selecting the table is creating a multiple selection... it can't hurt to check...


Ok. Can you explain how to get multiple selection, please ?


Use .rangeCount to find out if you have a multiple selection, normally it will be 1 but in the case of a table it could be more. Use .getRangeAt( 0 .. count - 1 ) in a loop to retrieve each range separately.

--
Warning: May contain traces of nuts.

_______________________________________________
mozilla-editor mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-editor

Reply via email to