Skip to main content

Provides a widget for editing HTML fields using CKEditor

Project description

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

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}"
/>

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

Authors

  • Therp BV

  • Camptocamp SA

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

ivantodorovich

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo14_addon_web_widget_ckeditor-14.0.1.0.3.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_web_widget_ckeditor-14.0.1.0.3.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d287b8621cac0b597169be2e56fb1366ee96bc66095b8679a5fa4e5839a4917
MD5 1309346368af435bd0fdc64bbd5f1c0b
BLAKE2b-256 0aeee296c03b11f555cbfb6e8278c67c260445993014cb3266bd91e378f5db6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page