Description:
When you render a post that contains a chart, that chart's div container sometimes includes an element with the visualizer-action class and the data-visualizer-chart-id attribute. We need that attribute to always be present in order to guess that chart's id, but sometimes the attribute is not sent with chart markup.
How to reproduce:
- Create a new WordPress instance in tastewp.com (it doesn't require an account).
- Accept all the default configuration.
- Install Visualizer Plugin.
- Create a post that contains a chart.
- Open that posts' public URL.
- Open the browser's inspector and check the chart's markup: it will not contain any tag with the
data-visualizer-chart-id attribute.
Expected behavior:
Posts that contain charts always render a container tag with the data-visualizer-chart-id attribute.
Technical info
- WordPress v5.9.3
- Visualizer: Tables and Charts for WordPress v3.7.10
- Visualizer: Tables and Charts Manager for WordPress AddOn v1.10.7
Description:
When you render a post that contains a chart, that chart's
divcontainer sometimes includes an element with thevisualizer-actionclass and thedata-visualizer-chart-idattribute. We need that attribute to always be present in order to guess that chart's id, but sometimes the attribute is not sent with chart markup.How to reproduce:
data-visualizer-chart-idattribute.Expected behavior:
Posts that contain charts always render a container tag with the
data-visualizer-chart-idattribute.Technical info