[QUESTION] Color picker default colors
Question
Is there a way to set a number of default colours to appear at the top of the color picker?

Answers (3)
grapesjs.init({
...
colorPicker: {
palette: [
['#000000','#ff0000','#ff8000','#ffff00','#008000','#0000ff','#4b0082']
],
}
})
Thank you! This may sound stupid, but is this documented somewhere, as I didnt find it in the official docs
No, unfortunately not yet, the idea was to make the color picker replaceable, so I've planned to document it once the new API was ready
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2364
[Question] How to add toolbar functionality to the layers panel.
I am trying to add the toolbar to the layers panel and I am not sure how to go about this. Is there any way to accomplish this? toolbar Whe...
Issue #1379
Question : how to replace style-manager font-awesome icon into svg?
hi @artf i Want to replace an icon of style manager with svg icon . As you can see screenshot attached. I tried dat way.
Issue #1870
[QUESTIONS] set data-gjs-type in tag i (Why iscomponent not working)
when i add block(tag i), data-gjs type is "I" (there is no problem from the trait that I made) i'm have trait but if save and reload, data-...
Issue #2710
[QUESTION] Unsplash images in asset manager modal
Hello, I want to add a support for unsplash API when user opens AsssetManager modal with search input (similar to Grapedrop) Is there an ea...
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.