CesiumGS/cesium

Add "disableSecurity" option to InfoBox

Open

#5446 aperta il 9 giu 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (3324 fork)batch import
category - widgetsgood first issuetype - enhancement

Metriche repository

Star
 (11.758 star)
Metriche merge PR
 (Merge medio 15g 12h) (23 PR mergiate in 30 g)

Descrizione

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.

Guida contributor