Commit 6f536bf7 authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: support SQL Methods

use syntax highlighting for SQL language, not really correct because of
dtml, but probably better than plain text
parent ed6765e8
...@@ -94,6 +94,8 @@ ...@@ -94,6 +94,8 @@
model_language = 'javascript'; model_language = 'javascript';
} else if (options.portal_type === 'Web Style') { } else if (options.portal_type === 'Web Style') {
model_language = 'css'; model_language = 'css';
} else if (options.portal_type === 'SQL Method') {
model_language = 'sql';
} else if ( } else if (
options.portal_type === 'Python Script' || options.portal_type === 'Python Script' ||
options.portal_type === 'Workflow Script' || options.portal_type === 'Workflow Script' ||
......
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