changed codemirror path
This commit is contained in:
parent
a760333fba
commit
e1609f1569
1 changed files with 17 additions and 21 deletions
|
|
@ -1,23 +1,3 @@
|
|||
<script src="<?php echo $this->base ?>/codemirror/lib/codemirror.js"></script>
|
||||
<link rel="stylesheet" href="<?php echo $this->base ?>/codemirror/lib/codemirror.css">
|
||||
<script src="<?php echo $this->base ?>/codemirror/mode/htmlmixed/htmlmixed.js"></script>
|
||||
<script src="<?php echo $this->base ?>/codemirror/mode/javascript/javascript.js"></script>
|
||||
<script src="<?php echo $this->base ?>/codemirror/mode/css/css.js"></script>
|
||||
<script src="<?php echo $this->base ?>/codemirror/mode/xml/xml.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
window.onload = function(){
|
||||
var myCodeMirror = CodeMirror.fromTextArea(
|
||||
document.getElementById('content'),
|
||||
{
|
||||
mode: "htmlmixed"
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div id="admin">
|
||||
<h3>Page bearbeiten</h3>
|
||||
|
||||
|
|
@ -72,3 +52,19 @@ window.onload = function(){
|
|||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script src="<?php echo $this->base ?>/lib/codemirror/lib/codemirror.js"></script>
|
||||
<link rel="stylesheet" href="<?php echo $this->base ?>/lib/codemirror/lib/codemirror.css">
|
||||
<script src="<?php echo $this->base ?>/lib/codemirror/mode/htmlmixed/htmlmixed.js"></script>
|
||||
<script src="<?php echo $this->base ?>/lib/codemirror/mode/javascript/javascript.js"></script>
|
||||
<script src="<?php echo $this->base ?>/lib/codemirror/mode/css/css.js"></script>
|
||||
<script src="<?php echo $this->base ?>/lib/codemirror/mode/xml/xml.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var myCodeMirror = CodeMirror.fromTextArea(
|
||||
document.getElementById('content'),
|
||||
{
|
||||
mode: "htmlmixed"
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue