HTML elements are not displaying in the pop-up window when created inside a pop-up template in ArcGIS API for JavaScript.
上次发布: February 13, 2020ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000128230
已提交
January 29, 2020
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
4.14
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This change is listed in the breaking changes at version 4.14 of the ArcGIS API for JavaScript.
An HTML sanitizer has been added to all widgets, which removes some HTML for security purposes. This causes the HTML set in PopupTemplate.content or in other widgets to be removed. Instead of setting the content as an HTML string, it is recommended to use a function to modify the dom node directly. A code snippet with an example of this functionality is here: https://developers.arcgis.com/javascript/latest/guide/release-notes/#breaking-changes