Issue #1156Opened June 1, 2018by Deepak8130 reactions

Plugin gjs-style-gradient not found

Question

Code SnippetTEXT
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)

Deepak813June 5, 20180 reactions

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.

ssabrewolfJune 5, 20180 reactions

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.

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.