parse editor links on enter or space only in focused editor