Browse Source

update codemirror-test

master
Pandao 10 years ago
parent
commit
2cc3596348
  1. 24
      tests/codemirror-test.html

24
tests/codemirror-test.html

@ -8,14 +8,30 @@
<link rel="stylesheet" href="../examples/css/style.css" />
</head>
<body>
<div style="text-align: left;">
<textarea id="test" style="height: 700px;">###Hello world!</textarea>
<div id="layout">
<textarea id="test" style="display:none;">###Hello world!</textarea>
</div>
<script src="../lib/jquery.min.js"></script>
<script src="../examples/js/jquery.min.js"></script>
<link rel="stylesheet" href="../lib/codemirror/codemirror.min.css" />
<script src="../lib/codemirror/codemirror.min.js"></script>
<script src="../lib/codemirror/modes.min.js"></script>
<script src="../lib/codemirror/addons.min.js"></script>
<script src="../lib/codemirror/addons.min.js"></script>
<link rel="stylesheet" href="../lib/codemirror/addon/dialog/dialog.css">
<link rel="stylesheet" href="../lib/codemirror/addon/search/matchesonscrollbar.css">
<script src="../lib/codemirror/addon/dialog/dialog.js"></script>
<script src="../lib/codemirror/addon/search/searchcursor.js"></script>
<script src="../lib/codemirror/addon/search/search.js"></script>
<script src="../lib/codemirror/addon/scroll/annotatescrollbar.js"></script>
<script src="../lib/codemirror/addon/search/matchesonscrollbar.js"></script>
<style>
html, body, #layout, .CodeMirror {
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
<script type="text/javascript">
$(function() {

Loading…
Cancel
Save