Commit 54d751f8 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

erp5_code_mirror: Add mode "application/json" for JSON Form

parent 3ddf09c1
......@@ -79,6 +79,8 @@
mode = 'javascript';
} else if (options.portal_type === 'Web Style') {
mode = 'css';
} else if (options.portal_type === 'JSON Form') {
mode = 'application/json';
} else if ((options.portal_type === 'Python Script') ||
(options.portal_type === 'Test Component') ||
(options.portal_type === 'Module Component') ||
......
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