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.

82 lines
2.4 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 > Color*.
  19. #. Choose:
  20. * A color from the theme preset.
  21. * A custom color by clicking on the text input and then either:
  22. * Writing the HTML color code.
  23. * Selecting a color from the color picker.
  24. * Writing "transparent" to remove it.
  25. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  26. :alt: Try me on Runbot
  27. :target: https://runbot.odoo-community.org/runbot/162/9.0
  28. Known issues / Roadmap
  29. ======================
  30. * When migrating to v10, adapt this option again to its brand new built-in
  31. colorpicker.
  32. * While you write to the text input, you may notice it disappears for a moment,
  33. but don't worry, you are still writing.
  34. Bug Tracker
  35. ===========
  36. Bugs are tracked on `GitHub Issues
  37. <https://github.com/OCA/web/issues>`_. In case of trouble, please
  38. check there if your issue has already been reported. If you spotted it first,
  39. help us smash it by providing detailed and welcomed feedback.
  40. Credits
  41. =======
  42. External libraries
  43. ------------------
  44. * This addon includes code copied from bootstrap-colorpicker_
  45. .. _bootstrap-colorpicker: https://github.com/itsjavi/bootstrap-colorpicker/tree/2.5.1
  46. Contributors
  47. ------------
  48. * Jairo Llopis <jairo.llopis@tecnativa.com>
  49. Maintainer
  50. ----------
  51. .. image:: https://odoo-community.org/logo.png
  52. :alt: Odoo Community Association
  53. :target: https://odoo-community.org
  54. This module is maintained by the OCA.
  55. OCA, or the Odoo Community Association, is a nonprofit organization whose
  56. mission is to support the collaborative development of Odoo features and
  57. promote its widespread use.
  58. To contribute to this module, please visit https://odoo-community.org.