-
Notifications
You must be signed in to change notification settings - Fork 0
/
texteditor.html
85 lines (72 loc) · 3.03 KB
/
texteditor.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=0.52">
<title>Scriptorium - テキストエディタ</title>
<link rel="apple-touch-icon" sizes="180x180" href="/icon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/icon/favicon-16x16.png">
<link rel="manifest" href="/icon/site.webmanifest">
<link rel="mask-icon" href="/icon/safari-pinned-tab.svg" color="#8A8DA7">
<meta name="msapplication-config" content="/icon/browserconfig.xml">
<meta name="msapplication-TileColor" content="#3f51b5">
<meta name="theme-color" content="#3f51b5">
<link rel="stylesheet" href="lib/codemirror.css">
<link rel="stylesheet" href="addon/hint/show-hint.css">
<link rel="stylesheet" href="addon/lint/lint.css">
<link rel="stylesheet" href="scriptorium.css">
</head>
<body onresize="Scriptorium.resizeCanvas()">
<header>
<br>
<nav id="nav">
<ul>
<li><input id="filename" spellcheck="false" type="text" value="untitled.html"></li>
<li><a href="./help.html">使い方</a></li>
<li><a id="zoom-inout" href="#" onclick="Scriptorium.changeFontSize();">zoom out</a></li>
<li><a href="#"><label for="filechooser">ファイルの読み込み</label></a></li>
<li><a href="#" download="unknown.js" id="downloader">ファイルへ保存</a></li>
<li><a href="./index.html">戻る</a></li>
</ul>
</nav>
<div id="hmenu" onclick="Scriptorium.toggleMenu()">
<span class="hmenu_inner_line hmenu_inner_1" id="line1"></span>
<span class="hmenu_inner_line hmenu_inner_2" id="line2"></span>
<span class="hmenu_inner_line hmenu_inner_3" id="line3"></span>
</div>
<span id="logo">Scriptorium</span>
<a class="logo-info" href="./help.html">使い方</a>
<a class="logo-info" href="https://github.com/chibash/scriptorium">github.com/chibash/scriptorium</a>
</header>
<input type="file" id="filechooser" style="display: none;">
<div onclick="Scriptorium.closeMenu()" style="margin-left: 10px; margin-bottom: 0px;">
<div id="cells">
</div>
<br>
<div style="margin-left: 50px; margin-bottom: 3px;">
<button class="btn-normal" onclick="Scriptorium.clearSource()">新規</button>
</div>
<div id="editor" style="width: 97%; height: 80vh;"></div>
<button class="btn-smallscreen" onclick="Scriptorium.clearSource()">新規</button>
<br>
<div id="output">
</div>
</div>
<canvas id="canvas" width=0 height=0 tabindex=0>
</canvas>
</div>
<div id="bottom"></div>
<script src="lib/codemirror.js"></script>
<script src="mode/htmlmixed/htmlmixed.js"></script>
<script src="mode/css/css.js"></script>
<script src="mode/xml/xml.js"></script>
<script src="mode/javascript/javascript.js"></script>
<script src="addon/edit/matchbrackets.js"></script>
<script src="addon/hint/show-hint.js"></script>
<script src="keymap/emacs.js"></script>
<script src="./scriptorium.js"></script>
<script src="./messages.js"></script>
<script src="./texteditor.js"></script>
</body>
</html>