Provides a widget for editing HTML fields using CKEditor
Project description
This module adds a new widget ckeditor to edit HTML fields using CKEditor.
Table of contents
Configuration
By default, this module will replace the original html wysiwyg field with CKEditor. The original html widget will be renamed as html_odoo.
If you only want to use ckeditor on specific views, you can disable the html widget override by archiving the web_widget_ckeditor.assets_backend_field_html_override view.
When the global html widget replacement is disabled, ckeditor has to be explicitly set on the desired ir.ui.view:
<field name="description_html" widget="ckeditor" />
The CKEditor toolbar can be customized with an ir.config_parameter. To do so, please create a parameter named web_widget_ckeditor.toolbar, and set the desired toolbar items using either ,, space or newline as separators.
heading
| bold italic underline removeFormat
| fontSize fontColor fontBackgroundColor
| bulletedList numberedList alignment
| outdent indent pagebreak
| link imageUpload blockQuote insertTable
| undo redo
There’s more information about available toolbar items in the official CKEditor documentation page
Known issues / Roadmap
Allow to configure toolbar using widget’s options.
<field
name="description_html"
widget="ckeditor"
options="{'bulletedList': false, 'pageBreak': true}"
/>
There seems to be a small incompatibility issue with web_drop_target. More information here
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Holger Brunn <hbrunn@therp.nl>
Stefan Rijnhart <stefan@therp.nl>
George Daramouskas <gdaramouskas@therp.nl>
-
Iván Todorovich <ivan.todorovich@camptocamp.com>
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.
Current maintainer:
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 odoo14_addon_web_widget_ckeditor-14.0.1.0.2-py3-none-any.whl
.
File metadata
- Download URL: odoo14_addon_web_widget_ckeditor-14.0.1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/60.3.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21c5e246e4aa947dcfa52b232327dcf1b66666640123e299647de95ba237331e |
|
MD5 | 61ca15a7ca34565cbefdeeea186d0e9c |
|
BLAKE2b-256 | 2addc9eb363517aabac27feae0f49800a451cd6c466ea0be5279f7783c25ce6f |