Browse Source

style textarea

master
Felix Lohmeier 2 years ago
parent
commit
047cf20e9c
  1. 4
      css/style.css
  2. 6
      index.html
  3. 1
      js/app.js

4
css/style.css

@ -1,4 +0,0 @@
textarea {
width: 100%;
height: 80%;
}

6
index.html

@ -9,6 +9,12 @@
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/codemirror.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
.CodeMirror {
border: 1px solid #eee;
height: auto;
}
</style>
</head>
<body>
<div class="container">

1
js/app.js

@ -21,6 +21,7 @@ $("#btn_validate").click( function () {
var editor = CodeMirror.fromTextArea(document.getElementById("ta_turtle"), {
lineNumbers: true,
mode: 'turtle',
viewportMargin: Infinity,
theme: 'default'
});

Loading…
Cancel
Save