Commit dccc1f22 authored by Sebastien Robin's avatar Sebastien Robin

[erp5_code_mirror] Activate syntax highlight for Extension Component

parent daec3c01
......@@ -80,7 +80,8 @@
} else if (options.portal_type === 'Web Style') {
mode = 'css';
} else if ((options.portal_type === 'Python Script') ||
(options.portal_type === 'Test Component')) {
(options.portal_type === 'Test Component') ||
(options.portal_type === 'Extension Component')) {
mode = 'python';
}
state_dict.mode = mode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment