You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.1 KiB

  1. .. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
  3. :alt: License: LGPL-3
  4. ==================================
  5. Web Editor Background Color Picker
  6. ==================================
  7. This module extends the functionality of the web editor to support
  8. setting a custom background color to any snippet allowing you to customize it.
  9. .. figure:: /web_editor_background_color/static/description/mass_mailing_editor.png
  10. :alt: Screenshot of color picker in mass mailing editor
  11. Usage
  12. =====
  13. To use this module, you need to:
  14. #. Install any module that makes use of the web editor, such as
  15. ``mass_mailing`` or ``website``.
  16. #. Use that module's facilities to edit some web content.
  17. #. Drag & drop any snippet into the web editor body.
  18. #. Click on *Customize > Text-Image > Background Color > </> icon*.
  19. #. Choose a custom color by either:
  20. * Writing any valid HTML color code in the text input.
  21. * Selecting a color from the color picker.
  22. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  23. :alt: Try me on Runbot
  24. :target: https://runbot.odoo-community.org/runbot/162/10.0
  25. Bug Tracker
  26. ===========
  27. Bugs are tracked on `GitHub Issues
  28. <https://github.com/OCA/web/issues>`_. In case of trouble, please
  29. check there if your issue has already been reported. If you spotted it first,
  30. help us smash it by providing detailed and welcomed feedback.
  31. Credits
  32. =======
  33. External libraries
  34. ------------------
  35. * This addon includes code copied from bootstrap-colorpicker_
  36. .. _bootstrap-colorpicker: https://github.com/itsjavi/bootstrap-colorpicker/tree/2.5.1
  37. Contributors
  38. ------------
  39. * Jairo Llopis <jairo.llopis@tecnativa.com>
  40. Maintainer
  41. ----------
  42. .. image:: https://odoo-community.org/logo.png
  43. :alt: Odoo Community Association
  44. :target: https://odoo-community.org
  45. This module is maintained by the OCA.
  46. OCA, or the Odoo Community Association, is a nonprofit organization whose
  47. mission is to support the collaborative development of Odoo features and
  48. promote its widespread use.
  49. To contribute to this module, please visit https://odoo-community.org.