将链接粘贴到新主题标题时,即使手动修改了标题,该链接仍会与主题关联。这是一个很棒的功能。但似乎无法将链接关联到现有主题。关联的链接有助于区分本地主题和面向外部的主题。
是否有办法在主题创建后为其关联链接?能否有人提供相关代码的指引?
将链接粘贴到新主题标题时,即使手动修改了标题,该链接仍会与主题关联。这是一个很棒的功能。但似乎无法将链接关联到现有主题。关联的链接有助于区分本地主题和面向外部的主题。
是否有办法在主题创建后为其关联链接?能否有人提供相关代码的指引?
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).
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.
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?