Skip to content
Snippets Groups Projects
Commit e3dd0dee authored by qsm-odoo's avatar qsm-odoo
Browse files

[FIX] web_editor: restore iframe editor code view mode

parent c1156915
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,10 @@ editor.Class.include({
});
rte.Class.include({
config: function ($editable) {
/**
* @override
*/
_getDefaultConfig: function ($editable) {
var config = this._super.apply(this, arguments);
if ($.deparam($.param.querystring()).debug !== undefined) {
config.airPopover.splice(7, 0, ['view', ['codeview']]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment