Share Canvas on website

Hello everyone,

I have a problem, I want to share my canvas on the website, but I have a problem, the canvas is not shared on the website. I followed the instructions given in the documentation, but no success. This is my code and the errors encountered:

<!DOCTYPE html>
<html>
<body>
<!-- Include Runtime -->
<script src="kbn_canvas.js"></script>

<div kbn-canvas-shareable="canvas"  kbn-canvas-url="canvas.json">
</div>

<script type="text/javascript">
        KbnCanvas.share();
</script>

</body>
</html>

And this is the error in Chrome DevTools:

What is the mistake and not working?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.