Commit 387c6b19 authored by Jérome Perrin's avatar Jérome Perrin

codemirror: fix html mode that requires different <script>s to be included

parent 00ff2341
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
<dtml-elif expr="mode == \'css\'">\n <dtml-elif expr="mode == \'css\'">\n
<script type="text/javascript" src="&dtml-portal_url;/csslint.js"></script>\n <script type="text/javascript" src="&dtml-portal_url;/csslint.js"></script>\n
<script type="text/javascript" src="&dtml-portal_url;/codemirror/addon/lint/css-lint.js"></script>\n <script type="text/javascript" src="&dtml-portal_url;/codemirror/addon/lint/css-lint.js"></script>\n
<dtml-elif expr="mode == \'htmlmixed\'">\n
<script type="text/javascript" src="&dtml-portal_url;/codemirror/mode/xml/xml.js"></script>\n
<script type="text/javascript" src="&dtml-portal_url;/codemirror/mode/javascript/javascript.js"></script>\n
<script type="text/javascript" src="&dtml-portal_url;/codemirror/mode/css/css.js"></script>\n
</dtml-if>\n </dtml-if>\n
\n \n
<style type="text/css">\n <style type="text/css">\n
......
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