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">
|
<div id="admin">
|
||||||
<h3>Page bearbeiten</h3>
|
<h3>Page bearbeiten</h3>
|
||||||
|
|
||||||
|
|
@ -71,4 +51,20 @@ window.onload = function(){
|
||||||
<input type="submit" name="save" value="speichern" />
|
<input type="submit" name="save" value="speichern" />
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</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