Commit a437b0cc authored by Jérome Perrin's avatar Jérome Perrin

code_mirror: enable python mode for all component types

Some new components were introduced, but that list was not updated
parent dd22cd9c
...@@ -81,6 +81,10 @@ ...@@ -81,6 +81,10 @@
mode = 'css'; mode = 'css';
} else if ((options.portal_type === 'Python Script') || } else if ((options.portal_type === 'Python Script') ||
(options.portal_type === 'Test Component') || (options.portal_type === 'Test Component') ||
(options.portal_type === 'Module Component') ||
(options.portal_type === 'Interface Component') ||
(options.portal_type === 'Document Component') ||
(options.portal_type === 'Tool Component') ||
(options.portal_type === 'Extension Component')) { (options.portal_type === 'Extension Component')) {
mode = 'python'; mode = 'python';
} }
......
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