Expose spectrum color picker options
Is something like this already possible and I missed it? If not, would you consider merging a pull request that adds this functionality? Unfortunately, not yet possible but I'll definitely accept a PR (ok for the option colorPicker) The spectrum is called inside InputColor and used then in PropertyColorView and TraitC...
Read full answer below βQuestion
Hi @artf, I'm wanting to customize some options for the spectrum color picker (specifically the palette). I've searched through the code and am not seeing how this is currently possible. This is what I'd like to do: Is something like this already possible and I missed it? If not, would you consider merging a pull request that adds this functionality?
Answers (3)
Is something like this already possible and I missed it? If not, would you consider merging a pull request that adds this functionality? Unfortunately, not yet possible but I'll definitely accept a PR (ok for the option colorPicker) The spectrum is called inside InputColor and used then in Property...
Thanks @artf! Do you have any general thoughts on how to best make this change? I've reviewed the code and am not seeing an easy way to accomplish this, and I'd like to avoid spending time going down the wrong path. Here's a summary of what the ideas I've considered so far...any of these sound bett...
Honestly, I was thinking about a less invasive approachNone of those objects appear to currently have any reference to the editor object Actually, PropertyColorView injectsEditorModel (which I commonly reference as em) as an option via target (probably will be best to rename it to em) but not in Tr...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #903
How to access "assets" like we have getHtml() and getCss().
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Issue #1051
CommandAbstract's callRun and callStop should return result for backward compatibility
Hi @artf, after the latest upgrade (0.14.9) some of my commands that rely on the results of other commands fail. This happens because of th...
Issue #1691
How to use variable/function outside of the script
Hello @artf , How can i access the variable as well functions which is outside of the script. My code is like, I am using angular.js(Angula...
Issue #1609
Grapesjs, How to extract html/css code in view code into console log?
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins βPremium plugins ship with support, regular updates, and production-ready features β save days of integration work.
Browse premium plugins βRelated tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.