Sitecore disableWebEdit-html验证失败
通过使用sitecore cms,我们发现无论在哪里,只要sitecore添加了“disableWebEdit”实例,结果html就会被SiteImprove和W3C Validator视为无效Sitecore disableWebEdit-html验证失败,html,sitecore,Html,Sitecore,通过使用sitecore cms,我们发现无论在哪里,只要sitecore添加了“disableWebEdit”实例,结果html就会被SiteImprove和W3C Validator视为无效 Error: Attribute disablewebedit not allowed on element a at this point. From line 329, column 33; to line 329, column 103 <li><a hr
Error: Attribute disablewebedit not allowed on element a at this point.
From line 329, column 33; to line 329, column 103
<li><a href="https://xxxx.xxxx-uk.org/disclaimer" DisableWebEdit="True">Discla
错误:此时元素a上不允许使用属性disablewebedit。
来自第329行第33列;至第329行第103列
铁饼
作为一名前端开发人员,我的第一个想法是使用data disablewebedit,但团队中的Sitecore开发人员告诉我,重构Sitecore流程可能不是第一步
实现数据标记方法是现实的,还是有更有效的方法使用DisableWebEdit标记来成功验证
非常感谢。Sitecore不会将此添加到前端元素中,也不会添加到正常模式下运行的网站中。它可能会在“体验编辑器”(Experience Editor)的预览和/或编辑模式中为特定字段添加它们。。。你从哪里运行验证器?谢谢@jammykam-验证器正在站点的实时版本上运行;从您的评论来看,标签似乎不应该在live中显示-是这样吗?是否有防止这种情况发生的设置?