v 14.0 Third Party 232
Download for v 14.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 295
Technical Name web_widget_ckeditor
LicenseAGPL-3
Websitehttps://github.com/OCA/web
Versions 13.0 14.0
You bought this module and need support? Click here!

CKEditor Widget

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

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Why do you cancel some goo fucntion of the original html widget?
by
louriewang
on 4/19/22, 12:34 AM

1. you delect you the check box

2. for the picuture insert ,the old has a function of auto size convert and can set the percentage of picutre shows.  but in the CKEditor, even though you change the size of picuture under edite mode, i still show the original size once save.    Even though you use the center alignment in the eidite mode, it is still left align after save.


There are no comments yet!