CesiumGS/cesium

Add "disableSecurity" option to InfoBox

Open

#5,446 创建于 2017年6月9日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)JavaScript (11,758 star) (3,324 fork)batch import
category - widgetsgood first issuetype - enhancement

描述

See this thread: https://groups.google.com/d/msg/cesium-dev/Ktn8aPQmOsQ/_Dbd7igkCQAJ

While we expose the ability to disable iframe sandboxing, some use cases need the title text to be HTML as well, which is currently using the knockout text binding instead of HTML. This will also help with the fact that most people aren't familiar with iframe sandboxing and we can provide them a single top-level property for disabling it.

This should be a simple change in InfoBox.js, see the above thread for some more details.

贡献者指南