diff --git a/addons/web_editor/static/src/js/backend/html_field.js b/addons/web_editor/static/src/js/backend/html_field.js index 46b41988bd5..1e2c68a9727 100644 --- a/addons/web_editor/static/src/js/backend/html_field.js +++ b/addons/web_editor/static/src/js/backend/html_field.js @@ -681,7 +681,7 @@ export const htmlField = { wysiwygOptions.collaborativeTrigger = options.collaborative_trigger || 'focus'; } if ('style-inline' in options) { - wysiwygOptions.inlineStyle = Boolean(options.styleInline); + wysiwygOptions.inlineStyle = Boolean(options['style-inline']); } if ('allowCommandImage' in options) { // Set the option only if it is explicitly set in the view so a default