Open apreshill opened 3 years ago
Some of the examples are working fine but sometimes it could be conflict between JS libraries. (like #74)
I think this brings back the question of some tooling like widgetframe (https://cran.r-project.org/web/packages/widgetframe/) to isolate HTMLwidget from the main document.
Maybe in documents like revealjs_presentation
which heavily depend on another library this could be quite useful as the probability of conflicts could be high.
I'll add manual tests with different example to check that.
Test example for leaflet: 65b5604
Test example for plotly: 44a2037
I tagged all the issues I found related to this here: https://github.com/rstudio/revealjs/labels/widgets.
The solution here may be related to the more general problem of embedding elements.