-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
54 lines (46 loc) · 1.67 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>ChordPro Live Editor</title>
<link rel="stylesheet" href="css/editor.css" id="editor_css">
</head>
<body>
<button type="button" name="button" onclick="ChordProEditor.switch_to_visual_css(true)" class="switcher visual">
See the result
</button>
<button type="button" name="button" onclick="ChordProEditor.switch_to_visual_css(false)" class="switcher editor">
Edit the song
</button>
<h1 contenteditable="true">Titre du chant</h1>
<textarea class="chordpro-song" spellcheck="true" lang="en">
I want to go [G]back to my little grass shack
In Kealakekua, [A7]Hawaii
I want to [D7]be with all the kanes and wahines
That I used to [G]know... so long ago
I can [B7]hear the old guitars a-playing[E7]
On the beach at Honaunau
I can [A7]hear the old Hawaiians saying
"Komo [D7]mai no kaua i ka hale welakahau"
It won't be [G]long till my ship will be sailing
Back to [A7]Kona
A [D7]grand old place
That's always fair to [B7]see... you're telling me
I'm [E7]just a little Hawaiian and a homesick island boy
I [A7]want to go back to my fish and poi
{start_of_chorus}
I want to go [G]back to my little grass shack
In Kealakekua, [A7]Hawaii
Where the [D7]humu-humu nuku-nuku a pua'a
Go swimming [G]by
{end_of_chorus}
Where the [D7]humu-humu nuku-nuku a pua'a
Go swimming [G]by
</textarea>
<script type="text/javascript" src="vendor/pegjs/peg-0.8.0.min.js"></script>
<script type="text/javascript" src="js/chordpro-editor.js"></script>
<script type="text/javascript">
ChordProEditor.watch('chordpro-song');
</script>
</body>
</html>