I feel like the answer to this question should be on this site somewhere, but it only seems to relate to Plotly charts made in iframes or another coding. Anyway, I have created a Plotly chart in R Studio and uploaded it to my Plotly account directly from the program. I have taken the given HTML code from the Plotly website for embedding the graph on my Squarespace website and it works great. However, I cannot seem to find any way described online to manipulate the HTML to hide “Edit Chart.” I came across a StackExchange post indicating I could do:
p %>% config(showLink = F)
I tried this in R Studio before uploading it again to my online Plotly account, but the embedded chart on Squarespace still shows the “Edit Chart” button. Anyone have any luck hiding the link in HTML embeds?