1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 23:00:57 +00:00

[file_edit] upgraded codemirror to v2.36 to fix md link bug, and fixed css mode bug

This commit is contained in:
llj
2012-12-11 15:14:55 +08:00
parent 9cee99ab55
commit f6b0dc5d8d
5 changed files with 7 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
mode: 'text/x-java',
{% endif %}
{% if fileext == 'css' %}
mode: 'CSS',
mode: 'css',
{% endif %}
{% if fileext == 'html' or fileext == 'xhtml' or fileext == 'htm' %}
mode: 'htmlmixed',

View File

@@ -1,5 +1,5 @@
{% if filetype == 'Text' %}
<script type="text/javascript" src="{{MEDIA_URL}}codemirror/codemirror.js"></script>
<script type="text/javascript" src="{{MEDIA_URL}}codemirror/codemirror-2.36.js"></script>
{% endif %}
{% if filetype == 'PDF' %}
{% if pdf_use_flash %}