[IMP] web: remove monokai in form widget aceEditor
Keep return line in ViewMode. Courtesy of @odony
This commit is contained in:
@@ -1584,8 +1584,8 @@ var AceEditor = common.AbstractField.extend(common.ReinitializeFieldMixin, {
|
||||
if (!window.ace && !this.loadJS_def) {
|
||||
this.loadJS_def = ajax.loadJS('/web/static/lib/ace/ace.odoo-custom.js').then(function () {
|
||||
return $.when(ajax.loadJS('/web/static/lib/ace/mode-python.js'),
|
||||
ajax.loadJS('/web/static/lib/ace/mode-xml.js'),
|
||||
ajax.loadJS('/web/static/lib/ace/theme-monokai.js'));
|
||||
ajax.loadJS('/web/static/lib/ace/mode-xml.js')
|
||||
);
|
||||
});
|
||||
}
|
||||
return $.when(this._super(), this.loadJS_def);
|
||||
|
||||
@@ -136,6 +136,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
// ace editor RO
|
||||
.oe_form_field_text .oe_form_text_content {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
// Tags
|
||||
.o_form_field_many2manytags {
|
||||
.badge {
|
||||
|
||||
Reference in New Issue
Block a user