Commit f01bd35c authored by Sebastien Robin's avatar Sebastien Robin Committed by Roque

[erp5_code_mirror] Activate syntax highlight for Extension Component

parent ce69285a
......@@ -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