Make contentEditable=true elements react properly to LinkHints

This addresses #888