Do you know if it is possible to add a color picker into custom modules? I want to give the user the choice to edit the background color of my email cover directly into the content editor. Otherwise, How can I set the color background of the custom module directly into the template? thanks for your feedback.
Is it a set list of of colors? I've done this before with a set list of colors using a choice module. You would have to set the colors inline instead of in a style sheet (or in the head, but I don't think I've tried this). set the color value to either the choice module containing the choices and set to no_wrapper-True, or set the choice module to export_to_template_content=True and set the value token for the choice as the color value.
In the editor there will be a drop down, choosing a color from the drop down will apply that color value to whatever element's css attrubute you are wanting to change.
Is it a set list of of colors? I've done this before with a set list of colors using a choice module. You would have to set the colors inline instead of in a style sheet (or in the head, but I don't think I've tried this). set the color value to either the choice module containing the choices and set to no_wrapper-True, or set the choice module to export_to_template_content=True and set the value token for the choice as the color value.
In the editor there will be a drop down, choosing a color from the drop down will apply that color value to whatever element's css attrubute you are wanting to change.