UNPKG

grapesjs-plugin-chartjs-bar

Version:
48 lines (44 loc) 1.41 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>GrapesJS Scroll Plugin</title> <link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet" /> <!-- <script src="dist/grapesjs-plugin-chartsjs.min.js"></script> --> <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <script src="https://unpkg.com/grapesjs-plugin-chartsjs"></script> <script src="https://unpkg.com/grapesjs"></script> <script src="./dist/grapesjs-plugin-chartjs-bar.min.js"></script> <style> body, html { height: 100%; margin: 0; } </style> </head> <body> <div id="gjs" style="height: 0px; overflow: hidden"> <div style="margin: 100px 100px 25px; padding: 25px; font: caption"> This is a demo content from index.html. For the development, you shouldn't edit this file, instead you can copy and rename it to _index.html, on next server start the new file will be served, and it will be ignored by git. </div> </div> <script type="text/javascript"> window.editor = grapesjs.init({ height: "100%", showOffsets: 1, noticeOnUnload: 0, storageManager: { autoload: 0 }, container: "#gjs", fromElement: true, plugins: ["grapesjs-plugin-chartjs-bar"], }); </script> </body> </html>