-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTextEditor.html
More file actions
73 lines (72 loc) · 2.96 KB
/
Copy pathTextEditor.html
File metadata and controls
73 lines (72 loc) · 2.96 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Vichaar</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Quintessential&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@1,14..32,300&family=Quintessential&family=Ysabeau+Office:ital,wght@0,1..1000;1,1..1000&display=swap" rel="stylesheet">
</head>
<body>
<nav class="navbar" >
<a href="" class="quintessential-regular" id="logo">Vichaar</a>
<div class="nav-links">
<a href="" >Home</a>
<a href="" >About</a>
</div>
</nav>
<h1>Poem Editor</h1>
<div class="Language">
<img src="Images/English.jpg" id="language-flag" alt="Flag" />
<label for="language-label"><em>Language</em></label>
<select id="language-select">
<option value="english">English</option>
<option value="hindi">Hindi</option>
<option value="marathi">Marathi</option>
</select>
</div>
<br><br><br>
<!-- Custom Toolbar -->
<div id="custom-toolbar">
<span class="ql-formats">
<button class="ql-bold"></button>
<button class="ql-italic"></button>
<button class="ql-underline"></button>
</span>
<span class="ql-formats">
<button class="ql-align" value=""></button>
<button class="ql-align" value="center"></button>
<button class="ql-align" value="right"></button>
</span>
<span class="ql-formats">
<button class="ql-blockquote"></button>
<button class="ql-clean"></button>
</span>
</div>
<div class="poem-title-container">
<!-- Title of Poem -->
<label for="poem-title">Title:</label>
<input type="text" id="poem-title" placeholder="Enter your poem's title" />
</div>
<!-- Editor-->
<div id="editor-wrapper" class ="editor-container">
<div id="editor"></div>
<div class="word-count">Word count</div>
</div>
<!-- Saving the poem -->
<div id="poem-actions">
<button id="save-poem">Save</button>
<button id="clear-poem">Clear</button>
<button onclick="document.getElementById('load-poem').click()" id="Load-btn">Load Poem</button>
<input type="file" id="load-poem" style="display: none;" accept=".txt">
</div>
<script src="https://cdn.quilljs.com/1.3.6/quill.js"></script>
<script src="index.js"></script>
</body>
</html>