[FIX] web_editor: remove ace editor files from the frontend bundle
The JS + XML and related lib JS files are only used by the website editor and by studio. So it should only part of the backend bundle. Recently these assets were put there by [1] as a first step towards a potential deletion of the assets_common bundle, which was later removed by [2], they should however never been in common. [1]: https://github.com/odoo/odoo/commit/08dcbc8f1def06476d025b110049ee596e906816 [2]: https://github.com/odoo/odoo/commit/6f95be6884a59665ca7d8a809e7aaa17695fa9b0 task-3229205 Part-of: odoo/odoo#117051
This commit is contained in:
@@ -203,11 +203,9 @@ Odoo Web Editor widget.
|
||||
('include', 'web_editor.assets_media_dialog'),
|
||||
|
||||
'web_editor/static/src/js/editor/odoo-editor/src/base_style.scss',
|
||||
'web_editor/static/lib/vkbeautify/**/*',
|
||||
'web_editor/static/src/js/common/**/*',
|
||||
'web_editor/static/src/js/editor/odoo-editor/src/utils/utils.js',
|
||||
'web_editor/static/src/js/wysiwyg/fonts.js',
|
||||
'web_editor/static/src/xml/ace.xml',
|
||||
|
||||
'web_editor/static/src/scss/web_editor.common.scss',
|
||||
'web_editor/static/src/scss/web_editor.frontend.scss',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import { useWidget } from "@web/legacy/utils";
|
||||
import {useService} from '@web/core/utils/hooks';
|
||||
import AceEditor from '@web_editor/js/common/ace';
|
||||
import AceEditor from '@web_editor/js/backend/ace';
|
||||
|
||||
import { Component, xml } from "@odoo/owl";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user