嘿,我发现更改 Discobot 教程中的回复可能不会更改接受的答案,或者不起作用。我尝试编辑链接以复制和粘贴的两次,它们都消失了。
我不确定这是否导致了问题,或者答案是否保存在其他地方。但它不接受链接。
我保存了特定的链接,例如:https://rapyd.net 或 https://docs.rapyd.net,但当我返回时,它显示了以下内容:
我不得不恢复到原来的状态,这样这些链接才得以保留。
如何更改链接,使其不会变为空白并且能够正常工作?
嘿,我发现更改 Discobot 教程中的回复可能不会更改接受的答案,或者不起作用。我尝试编辑链接以复制和粘贴的两次,它们都消失了。
我不确定这是否导致了问题,或者答案是否保存在其他地方。但它不接受链接。
我保存了特定的链接,例如:https://rapyd.net 或 https://docs.rapyd.net,但当我返回时,它显示了以下内容:
我不得不恢复到原来的状态,这样这些链接才得以保留。
如何更改链接,使其不会变为空白并且能够正常工作?
我认为这可能是一个#bug
我稍后会看一些 Discobot 的东西,然后把这个加到任务里。![]()
谢谢!@JammyDodger 和 @Noah!
@JammyDodger 有什么更新吗?我们社区来了很多人,很想设置好这个!
<s<I can confirm that adding a custom link does clear all of the links in discourse_narrative_bot.new_user_narrative.onebox.instructions. The surrounding < > are not shouldn’t be the issue as they are simply to ensure the link is displayed ‘as is’ and not oneboxed.
<s<I’m afraid I do not know whether this is expected or not as yet. But in the meantime I suggest resetting the field and using the existing ones. ![]()
Okay, scrap that answer. I think I know what’s happening.
The < > that ensure the links stay as text and aren’t oneboxed are making the sanitizer think they’re some HTML code that’s not allowed to be in there and is cleaning them up on save.
But if you hyperlink the address in markdown instead then this seems to work as you want it to. eg
[https://meta.discourse.org](https://meta.discourse.org)
Update: Using a regular <a href="https://meta.discourse.org">https://[test.site](http://meta.discourse.org)</a> style link also seems to work ![]()
Could you give that a try while we look into it further?
嘿 @JammyDodger,我已经尝试过了,但似乎遇到了“抱歉,找不到该链接”的问题。有什么想法吗?
我尝试使用了以下链接 [https://meta.discourse.org](https://meta.discourse.org),但没有成功,不过还是感谢你对此的深入研究。
嗯。
我这边是能正常工作的。你可能遇到了 Discobot 相关话题中的另一个问题 - Discobot didn't recognize link in tutorial 你能看看是不是这个问题吗?
从你的截图来看,你的链接似乎没有被 onebox,所以可能是这个问题。
谢谢,我遇到了同样的情况。链接可以粘帖,但在教程中无法识别。我将移至另一个帖子进行回复。
我遇到了同样的情况
谢谢,@JammyDodger 新年快乐。我将跟进这个问题。我想知道这些更改是否可以作为 Discourse 管理员进行更改,还是需要修改源代码?
谢谢,