Hello fellow scripters!
I am wondering how I can get a text selection parentNode type or Tagname
so I could check if the current selection is already a link or not.
It's for a rich text editor I am trying to make.
Can anyone give me a head start? Many thanks!