-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
189 lines (184 loc) · 8.78 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta property="og:title" content="Editor : Prototype">
<link rel="icon" href="./images/editor-favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" href="https://styles.relate.design/css/styles.css">
<link rel="stylesheet" href="./css/style.css">
<script src="https://code.jquery.com/jquery-3.6.2.min.js" crossorigin="anonymous"></script>
<script defer src="./js/main-v2.js"></script>
<script defer src="./js/elements.js"></script>
<script defer src="./js/interaction.js"></script>
<script defer src="./js/shortcuts.js"></script>
<title>Editor : Prototype</title>
</head>
<body class="preview-body">
<header class="preview-wrapper">
<div class="preview-header-link">
<a>
<img src="./images/editor-logo.svg" />
</a>
<span>/ Prototype</span>
</div>
<a href="https://github.com/Pravinakajerry/HTML-Editor">
<p>Open Source -></p>
</a>
</header>
<section>
<div class="preview-wrapper">
<h1 class="preview-h1">Edit Visual Content, Visually <span class="key">|</span></h1>
<p>
Simple HTML Content Editor, <u>designMode </u>
<br class="" />environment that updates source code
</p>
<button class="preview-hero-button">Press CTRL + E</button>
<div class="preview-divider"></div>
<div class="preview-content-wrapper">
<div class="preview-box">
<h2 class="preview-h2">Let’s Fuck Around!</h2>
<div class="preview-chip">
<p>💡 Allow anyone to edit code content</p>
</div>
<div class="preview-chip">
<p>🪄 Edit content visually and save updated file</p>
</div>
</div>
<div class="preview-box">
<div class="preview-content-block">
<h3 class="preview-h3">Step 1: Start Editing (CTRL + E)</h3>
<p>
Yup, That’s all - now designMode / editMode is active
<br class="" />-> Now <span class="select-content">select content |</span> edit it 🤯
</p>
</div>
<div class="preview-content-block">
<h3 class="preview-h3">Step 2: Add Heading</h3>
<p>
Yes sir! You can edit, remove as well as add new text content
<br />
<br />Press CTRL + 1 to add <h1> Write Something </h1>
</p>
<div class="preview-add-heading">
<p>👋 Remove me & Press CTRL + 1</p>
</div>
<span class="preview-more-shortcuts">Show all shortcuts -></span>
</div>
<div class="preview-content-block">
<h3 class="preview-h3">Step 3: Save (CTRL + S)</h3>
<p>
Too save updated content - Press CTRL + S,
<br />That’s all Now your content is updated 👍
<br />
<br />Easy, right?
</p>
</div>
</div>
</div>
<div class="preview-divider"></div>
</div>
</section>
<footer class="preview-wrapper">
<div class="preview-footer">
<a>
<img src="./images/editor-logo.svg" />
</a>
<p>
Made by @pravinakajerry
<br />using Nocode & AI ⚔️
</p>
</div>
<div class="preview-footer-link">
<a href="https://github.com/Pravinakajerry/HTML-Editor" target="_blank">
<span>Github: Open Github -></span>
</a>
<a href="mailto:jerryatbusiness@gmail.com">
<span>Connect: Write Email -></span>
</a>
</div>
</footer>
<div class="file-settings">
<div class="icon-help clickable">
<img id="icon-help" class="delete" src="./images/shortcut.svg" />
</div>
</div>
</div>
<div class="notification">
<span>Awesome! Try selecting and changing content</span>
</div>
<div id="popup" class="popup">
<div class="follow-card">
<span>Follow for updates -- We rarely email :)</span>
<form action="https://formbold.com/s/91Zz3" method="POST">
<input placeholder="Your Email Address" name="email" type="email"/>
<button class="follow-button">UPDATE ME ONCE LIVE 🚀</button>
</form>
</div>
<div class="inner-popup">
<div class="row">
<p style=line-height:90%>Shortcuts</p>
<img id="close-popup" src="./images/remove.svg" class="close clickable"/>
</div>
<div class="popup-content-row">
<div style="min-width: 240px" class="column">
<a style="line-height: 100%; font-size: 14px; margin-top: 16px; margin-bottom: 4px;">Add Elements</a>
<div class="line">
<b>Add Heading 1:</b> CTRL + 1
</div>
<div class="line">
<b>Add Heading 2:</b> CTRL + 2
</div>
<div class="line">
<b>Add Heading 3:</b> CTRL + 3
</div>
<div class="line">
<b>Add Heading 4:</b> CTRL + 4
</div>
<div class="line">
<b>Add Heading 5:</b> CTRL + 5
</div>
<div class="line">
<b>Link:</b> CTRL + L
</div>
</div>
<div style="min-width: 240px" class="column">
<a style="line-height: 100%; font-size: 14px; margin-top: 16px; margin-bottom: 4px;">Text Style</a>
<div class="line">
<b>Bold:</b> CTRL + B
</div>
<div class="line">
<b>Underline</b> CTRL + U
</div>
<div class="line">
<b>Strikethrough</b> CTRL + X
</div>
<div class="line">
<b>Italic</b> CTRL + I
</div>
</div>
<div style="min-width: 240px" class="column">
<a style="line-height: 100%; font-size: 14px; margin-top: 16px; margin-bottom: 4px;">Other</a>
<div class="line">
<b>Start Editing:</b> CTRL + E
</div>
<div class="line">
<b>Save:</b> CTRL + S
</div>
<div class="line">
<b>Shortcuts:</b> CTRL + ?
</div>
<a style="line-height: 100%; font-size: 14px; margin-top: 16px; margin-bottom: 4px;">Support</a>
<div class="line">
<b>Reach Us:</b> <a href="mailto:jerryatbusiness@gmail.com" >Email</a>
</div>
<div class="line">
<b>Report Bug:</b> <a href="https://github.com/Pravinakajerry/HTML-Editor" target="_blank">Github</a>
</div>
</div>
</div>
</div>
</body>
</html>