editor1.GetSelection() return type

  •  09-25-2008, 5:33 PM

    editor1.GetSelection() return type

    In my efforts to create a custom dialog I now find myself wondering what type of object is returned by editor.GetSelection()
    What I am trying to do is select an IMG in the Editor then click My custom dialog button , open my dialog, when the dialog opens it has access the the selected Item and can get the HTML or Properties of the item. First to ensure the tagname is correct  next to inspect the ClasName to determine if this this a special type of image so that I can continue processing. Am I using the wrong function?  Can one use Editor.GetSelection().TagName | innerHTML | className etc ?
     
    Thanks for a great product.
    Hopefully with your assistance I can create what I need with it and share the results with you.
     
View Complete Thread