fix problem in proposal editor when pasting links