Comments (3)
Thanks for the report. It looks like your issue is with the xss protection that was added (it caused a lot of people issues). The fix you refer to is a way to disable the xss protection, but it's still enabled by default, and must be explicitly disabled.
However, the way it was implemented, the xss protection can only be disabled at initialization, and it cannot be disabled afterwards (see this comment). This is a problem because in {timevis} every timeline is initialized as empty initially, and then all the options get added to it afterwards. So disabling xss protection doesn't work.
I need to find a way to allow the widget to set a parameter on itself initially, which currently isn't supported. I've filed an issue with {htmlwidgets} to get help for this. ramnathv/htmlwidgets#482
from timevis.
Sweet!
Yeah, I realised I tried to change the xss protection once I created the timeline, and I didn't realise that I couldn't change it once it's created. It makes sense as it prevents further security issues.
Thank you so much!
from timevis.
If the issue in {htmlwidgets} gets resolved, I might be able to get this to work. I'll update you if that happens.
from timevis.
Related Issues (20)
- timezone argument fails in shiny but works in console HOT 1
- Online demo license expired HOT 2
- timeline-arrows package HOT 1
- Deselecting Items does not trigger observeEvent(input$timeline_selected,{}) (RShiny) HOT 1
- Changing language in the viewer HOT 1
- About the language HOT 1
- On which version of visjs-Timeline is Timevis running? HOT 1
- How to format dates in the data retrieved from the widget? HOT 2
- wrong date on timeline HOT 3
- timevis not running in Quarto .qmd HOT 3
- name of the month is an abbreviation in Ukrainian HOT 1
- Crosstalk error: Error: timevis: 'data' must be a data.frame HOT 2
- timevis is excellent HOT 1
- No support for portuguese? HOT 1
- Error using `{crosstalk}` with `timevis()` HOT 1
- Cannot assign HTML attributes to table in content HOT 3
- Stacking performance - update vis.js version? HOT 1
- Show warning or error on duplicate id's HOT 1
- Visualisation Shaking HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timevis.