Associar link ao tópico

Ao colar um link no título de um novo tópico, esse link é associado ao tópico, mesmo que o título seja alterado manualmente. Este é um ótimo recurso. No entanto, parece não ser possível associar um link a um tópico existente. Links associados permitem distinguir tópicos locais de tópicos focados externamente.

Existe alguma maneira de associar um link a um tópico após sua criação? Alguém pode fornecer indicações do código relevante?

2 curtidas

What do you mean by “associate link”?

You know, when you create a topic by pasting an URL into the topic title box.

I think the suggestion here is to be able to edit an existing topic (that wasn’t started by pasting a URL), and to get the extra goodies you get when pasting a URL (during the edit).

2 curtidas

I actually thought the standard behaviour we landed on here was “show link formatting if the very start of the topic is a link” but it does appear like the only way to achieve this special formatting is by pasting the link in the title bar.

IMO we should change this.

4 curtidas

I just noticed that if I “reply as a linked topic” and paste a link as the topic title, this does not fire the link association either. Can you please point to the code responsible for this logic?