forked from holloway/doctored
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (31 loc) · 1.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href='http://fonts.googleapis.com/css?family=Raleway:100,300,600' rel='stylesheet' type='text/css'>
<title>Doctored.js DEMO - a new kind of editor</title>
<link rel="stylesheet" href="screen.css">
<style>
</style>
</head>
<body>
<header>
<h1>Doctored.js XML editor demo</h1>
<p class="moreinfo">More info? See the <a href="http://holloway.co.nz/doctored/">Doctored.js website</a></p>
<i></i><b></b><u></u><s></s>
</header>
<div class="editor-container">
<div id="editor1"></div>
</div>
<script src="doctored/doctored.js"></script>
<script>
var callback = function(){
if(window.console && window.console.log) console.log("Doctored.js: initialized " + this.id + "!")
};
doctored.init("#editor1", {
onload: callback,
id: "editor1" // unique id per domain used for saving data (localStorage key). Doesn't need to be the same as the element Id.
});
</script>
</body>
</html>