[FIX] website: remove stable fix of body line height option

In [1] the stable patch of the body line height option was mistakenly
included in the forward port to master.

This commit removes that patch.

[1]: https://github.com/odoo/odoo/commit/89c93aba75a9c4d7e304c4decd4d5d3673d4df08

task-3471117

closes odoo/odoo#133555

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Benoit Socias
2023-08-30 13:10:24 +00:00
parent 6e19758171
commit f300b53b67
@@ -82,17 +82,6 @@ const wSnippetMenu = weSnippetEditor.SnippetsMenu.extend({
FontFamilyPickerUserValueWidget.prototype.fontVariables = fontVariables;
return this._super(...arguments);
},
/**
* @override
*/
_patchForComputeSnippetTemplates($html) {
// TODO Remove in master.
const themeBodyLineHeightEl = $html.find(
"[data-selector='theme-paragraph'] we-input[data-customize-website-variable][data-variable='body-line-height']"
)[0];
delete themeBodyLineHeightEl.dataset.unit;
delete themeBodyLineHeightEl.dataset.saveUnit;
},
/**
* Depending of the demand, reconfigure they gmap key or configure it
* if not already defined.