Co-authored-by: David Monjoie <dmo@odoo.com> Co-authored-by: Antoine Guenet <age@odoo.com> Co-authored-by: Nicolas Bayet <nby@odoo.com> Co-authored-by: Sébastien Geelen <sge@odoo.com> Co-authored-by: Emilien Durieu <edu@odoo.com>
12 lines
296 B
JavaScript
12 lines
296 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);
|
|
};
|
|
|
|
});
|