WARNING: Plugin grapesjs-style-gradient not found
Question
https://github.com/artf/grapesjs/issues/1156
It's actually a browser console warning not an error: "index.js?08a9:70 Plugin grapesjs-style-gradient not found"
The only difference I'm seeing in the fiddle demo posted on the above ticket is that your linking externally while I'm linking internally (and I'm using kotlin DSL):
YOU
<script src="https://unpkg.com/grapesjs-style-gradient
"></script>
ME
script(src = "/libs/grapesjs/js/grapick.min.js") {}
Note: Everything seems to work perfectly regardless of the warning. Just a guess, but maybe some other plugin is trying to get it, maybe presets?
P.S. I am loving the framework =)
Answers (3)
Just to clarify grapick.min.js does exist, just that it is bundled together with grapesjs-style-bg or grapesjs-style-gradient which is why it is not included when you use either of these plugins, however we have to include grapick.min.css because it is not bundled in any of these plugins and is required for styling the gradient slider. Also grapesjs-preset-webpage and gjs-preset-webpage are the same plugin, the other one is just an alias.
Try script(src = "/libs/grapesjs/js/grapesjs-style-gradient.min.js") {}, grapick and grapesjs-style-gradient are different projects, also recommend using grapesjs-style-bg instead of grapesjs-style-gradient
I noticed in the demo they use grapick.min.css, and style-bg.min.js in the header, but there is no grapick.min.js (which exists) or style.bg.min.css, which I find very strange; I do see now I was trying to add the plugin and pluginOpts at config time for grapesjs-style-gradient" but didn't include it in the header so I was likely using "grapesjs-style-bg" (which has no pluginsOpts in the demo for some reason) or grapick maybe. Confusing... one thing is for sure, us programmers need to take a lesson from doctors and start naming stuff in meaningful latin... ANT, another neat tool, common man, lol. Thanks, drawing the distinction solved it. I thought I saw some evidence of two plugins with identical names (after this conversation): grapesjs-preset-webpage vs gjs-preset-webpage... are these the same or different?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3778
BUG: Select options are not displaying - new anomaly
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? ChromeReproducible demo link https://github....
Issue #4669
Gradient plugin doesn't works on 1.20
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome and firefox Reproducible demo link...
Issue #2968
Question: trying to have 'Settings' sector under the style
https://github.com/artf/grapesjs/issues/1627 I think the question is related to this line specifically, I have the same issue. I look thru...
Issue #768
IE browser issue
Hi @artf , Created this issue due to https://github.com/artf/grapesjs/issues/214 has been closed ... I cloned the latest repo and run it on...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.