3
0
Fork 0

Merge PR #2939 into 16.0

Signed-off-by pedrobaeza
16.0
OCA-git-bot 2024-09-27 18:15:13 +00:00
commit b25a042fa8
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import {OdooEditor} from "@web_editor/js/editor/odoo-editor/src/OdooEditor";
patch(OdooEditor.prototype, "web_editor_class_selector.OdooEditor", {
_updateToolbar(show) {
const res = this._super(show);
if (!this.toolbar) {
if (!this.toolbar || !this.custom_class_css) {
return res;
}
const sel = this.document.getSelection();