Issue #3369Opened March 28, 2021by jcsofts0 reactions

FEAT: is it possible add a relative offset for the colorpicker

Question

image for example: I add a left bar and top bar outside the editor. I know the colorpicker's position is relative the body, so is it possible add a relateoffset to the config. so I can add a -40 to mek the colorpicker to right position?

Answers (2)

artfApril 7, 20210 reactions

You should be able to define color picker options in this way

grapesjs.init({
   colorPicker: {
      ...
    }
});

here you can check all the available options

skruSeptember 3, 20210 reactions

Is it possible to access the colorPicker after .init()?

I'd like to dynamically update the pallete

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.