Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Aikakakah authored Dec 15, 2024
1 parent 136cf3b commit 71b4341
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,24 @@ <h1>Space Station 14 Text Editor</h1>
<div id="error-message" style="color: red; font-weight: bold; text-align: center; padding-bottom: 20px;"></div>
<div class="toolbar">
<button data-tag="bold"><strong><i class="fa-solid fa-bold"></i></strong></button>
<button data-tag="italic"><em><i class="fa-solid fa-italic"></i></em></button>
<button data-tag="u"><u><i class="fa-solid fa-underline"></i></u></button>
<button data-tag="s"><s><i class="fa-solid fa-strikethrough"></i></s></button>
<button data-tag="italic"><em><i class="fa-regular fa-italic"></i></em></button>
<button data-tag="bolditalic"><b><em><i class="fa-solid fa-italic"></i></em></b></button>
<button data-tag="color="><i class="fa-solid fa-palette"></i></button>
<button data-tag="box="><i class="fa-solid fa-barcode"></i></button>
<!-- <button data-tag="quote="><i class="fa-solid fa-comment"></i></button>-->
<!-- <button data-tag="code"><i class="fa-solid fa-code"></i></button>-->
<button data-tag="centre"><i class="fa-solid fa-align-center"></i></button>
<button data-tag="url="><i class="fa-solid fa-link"></i></button>
<button data-tag="profile="><i class="fa-solid fa-user"></i></button>
<!-- <button data-tag="numbered-list"><i class="fa-solid fa-list-ol"></i></button>-->
<!-- <button data-tag="list"><i class="fa-solid fa-list"></i></button>-->
<button data-tag="img="><i class="fa-solid fa-image"></i></button>
<button data-tag="heading"><i class="fa-solid fa-heading"></i></button>
<button data-tag="notice"><i class="fa-solid fa-circle-exclamation"></i></button>
<button data-tag="bullet="><i class="fa-solid fa-list"></i></button>
<br>
<label class="size-select" data-orig-title="Font Size">
<span>Font Size</span>
<label class="header-select" data-orig-title="Header Size">
<span>Header Size</span>
<i class="fa-solid fa-chevron-down"></i>
<select id="size-select-select" onchange="changeFontSize()">
<select id="header-select-select" onchange="changeHeaderLevel()">
<option hidden>Hidden option</option>
<option value="50">Tiny</option>
<option value="85">Small</option>
<option value="100">Normal</option>
<option value="150">Large</option>
<option value="1">Small</option>
<option value="2">Normal</option>
<option value="3">Large</option>
</select>
</label>
</div>
<div class="editor-container">
<textarea id="bbcode-input" placeholder="Enter BBCode here..."></textarea>
<textarea id="bbcode-input" placeholder="Enter formatted text here..."></textarea>
<div id="bbcode-preview"></div>
</div>
</div>
Expand All @@ -52,6 +40,6 @@ <h1>Space Station 14 Text Editor</h1>
</body>

<footer>
<p><a href="https://github.com/NoelleTGS/osu-bbcode-editor" target="_blank">Source code</a></p>
<p><a href="https://github.com/Aikakakah/Aikakakah.github.io/tree/main" target="_blank">Source code</a></p>
</footer>
</html>

0 comments on commit 71b4341

Please sign in to comment.