在KB认知服务中添加元素HTML的新属性

发布于 2025-02-12 03:18:02 字数 342 浏览 2 评论 0原文

我想在答案意图中将元素HTML(a b )上的新属性设置。

我尝试粘贴元素< a href =“#” onclick =“ try {console.log(“ test”);} catch(i){}> operatore< /a>和门户删除始终属性> onclick 。 } catch(i){}> operatore</a> 带有否定的

方法。

I want to set new attributes on element html (a or b) in answers intent.
enter image description here

I tried to paste the element <a href="#" onclick="try{console.log("test");}catch(i){}>Operatore</a> and the portal remove always the attribute onclick. I tried also <a href="#" onclick:try{console.log("test");}catch(i){} >Operatore</a> with result negative.

There is a way for set attribute on elements html?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情话难免假 2025-02-19 03:18:02

直接添加选项尚未完全正常。相反,请遵循替代性相对方法。

使用 curl 此操作的工具。

  1. 从知识库的“设置”选项卡中,选择 curl 选项卡。
  2. 将命令复制到可编辑的环境。

请按照

Direct adding option is not yet fully functional. Instead, follow the alternative relative approach.

Use Curl tool for this operation.

  1. From the settings tab of knowledge base, select the CURL tab.
  2. Copy the command to the editable environment.

Follow the steps mentioned in the documentation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文