Set any background color for web editor snippets
Project description
This module extends the functionality of the web editor to support setting a custom background color to any snippet allowing you to customize it.
Table of contents
Usage
To use this module, you need to:
Install any module that makes use of the web editor, such as mass_mailing or website.
Use that module’s facilities to edit some web content.
Drag & drop any snippet into the web editor body.
Click on Customize > Text-Image > Background Color > </> icon.
Choose a custom color by either: * Writing any valid HTML color code in the text input. * Selecting a color from the color picker.
Known issues / Roadmap
Preview when user plays with colors. See https://github.com/OCA/web/pull/1327#issuecomment-509621572 to understand the (co/i)mplications.
When (& if) Odoo merges https://github.com/odoo/odoo/pull/34687, this module will no longer be needed.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Jairo Llopis <jairo.llopis@tecnativa.com> - https://www.tecnativa.com
Other credits
This addon includes code copied from bootstrap-colorpicker
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/web project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo12_addon_web_editor_background_color-12.0.1.0.0.99.dev8-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_web_editor_background_color-12.0.1.0.0.99.dev8-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f766f69d6ed14dc07fcc457bed21fd035cb981143d858594d1c711bb5109deb7 |
|
MD5 | 6bb55205cd5403c2456ef08295b94b39 |
|
BLAKE2b-256 | d055fcf7e4b504605e384411148689528b7c24f2ad21734453fc09e34bd00f82 |