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:
@@ -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',
|
||||
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user