Skip to content
Snippets Groups Projects
Commit 1bcd98b2 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

Fix mysql demo page

parent f004816d
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,8 @@
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="mysql.js"></script>
<link rel="stylesheet" href="../../theme/default.css">
<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
<link rel="stylesheet" href="../../css/docs.css">
<link rel="stylesheet" href="../../doc/docs.css">
</head>
<body>
<h1>CodeMirror 2: MySQL mode</h1>
......@@ -30,7 +29,7 @@ LIMIT 0,30;
</textarea></form>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
mode: "text/plain",
mode: "text/x-mysql",
tabMode: "indent",
matchBrackets: true
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment