Plugin gjs-style-gradient not found
Question
Hi @artf,
I am getting this issue in gradient plugin "Plugin gjs-style-gradient not found".Used below code to include in our file:
editor = grapesjs.init({
plugins: [ 'gjs-style-gradient'],
pluginsOpts: {
'gjs-style-gradient': {
colorPicker: 'default',
grapickOpts: {
min: 1,
max: 99,
}
},
Also, i have reference this issue #1116 but not found any solution.
Please help us to resolve this issue.Answers (3)
you need to inlude the plugin js , here is working live version https://jsfiddle.net/ssabrewolf/7ur0cwq3/32/
Hi @ssabrewolf,
Thanks for the message.
I have used the same code but some time i get the same error "Plugin gjs-style-gradient not found" .See the code below:
editor.StyleManager.addProperty('Page Settings', { name: 'Gradient', property: 'background-image', type: 'gradient', defaults: '100' });
editor.StyleManager.addProperty('Section Settings', { name: 'Gradient', property: 'background-image', type: 'gradient', defaults: '100' });
I have also follow all the errors and discussions regarding the gradient plugin but not able to get the solution. Please provide the valuable solution.
to discard problems in your enviroment simply create a fork ,is one cilck from the above link and use the same code your using to init
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1753
[Bug/Question] StyleManager - SectorsView - addToCollection() uses "name" attribute to build the ID and fails with several spaces or special characters
Hi @artf , Using the pluginOpts property from the grapesjs.init() method, I customized the sectors displayed on the Style Manager (through...
Issue #1984
Getting issue while click on edit option of image
Hey @artf , I see version release 0.14.57. In this version, you support to the image editor using this lib grapesjs-tui-image-editor.min.js...
Issue #1620
[Question] Can't edit Text on Block
I wrote a plugin that defines a new Block for a simple headline. However when I drag and drop this block to the canvas I get the placeholde...
Issue #968
Traits not showing with reference code: How to show traits along with style manager as in demo
Hi @artf, We found that when we download the latest grapesJs package in that traits tab are showing in different and online demo shows the...
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.