Files
odoo_source/addons/web_editor/static/tests/ajax_loader.js
T
Nicolas Bayet 10af6e83bf [IMP] web_editor,mass_mailing: adapt fields to use owl
- adapt the html field and mass_mailing_widget to be owl components
- adapt the mass mailing view to be an owl view

task-2898432

closes odoo/odoo#94875

Related: odoo/enterprise#30915
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2022-09-12 11:38:00 +02:00

12 lines
311 B
JavaScript

odoo.define('web_editor.ajax.loader', function (require) {
'use strict';
const loaderFunctions = require('web_editor.loader');
loaderFunctions.createWysiwyg = (parent, options) => {
const Wysiwyg = odoo.__DEBUG__.services['web_editor.wysiwyg'];
return new Wysiwyg(parent, options.wysiwygOptions);
};
});