Issue #6202Opened October 9, 2024by klipto-inc0 reactions

BUG: Javascript CDN not working on grapejs canvas

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

129

Reproducible demo link

https://grapesjs.com/demo

Describe the bug

const newEditor = grapesjs.init({ fromElement: true, // Allow components from HTML container: "#editor", canvas: { scripts: [ "https://cdn.jsdelivr.net/npm/[email protected]/dist/preline.min.js", ], }, height: "100vh", plugins: [ gjsPresetWebpage, GjsBlockBasic, gjsForms, pluginTooltip, customCodePlugin, pluginImageEditor, grapesjsClick, pluginPreset, pluginStyleBg, styleFilter, pluginStyleFlex, pluginStyleGradient, pluginnavbar, // scriptEditor, // pluginEasyStyle, ], pluginsOpts: { gjsPresetWebpage: {}, grapesjsClick: true, }, pageManager: { pages: project.pages, // }, storageManager: { type: "", // Set type to empty to disable storage autosave: true, // Disable autosave autoload: true, // Disable autoload stepsBeforeSave: 1, }, });

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (1)

artfOctober 9, 20240 reactions

@klipto-inc please create the bug report with a proper reproducible live demo

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.