Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Add Format menu #153

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ <h1>bootstrap-wysiwyg <br/> <small>tiny wysiwyg rich text editor for Bootstrap</
<li><a data-edit="fontSize 1"><font size="1">Small</font></a></li>
</ul>
</div>

<div class="btn-group">
<a class="btn btn-default dropdown-toggle" data-toggle="dropdown" title="Font Size">Format&nbsp;<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a class="btn" data-edit="formatblock h1" title="H1"><font size="5">Heading 1</font></a></li>
<li><a class="btn" data-edit="formatblock h2" title="H2"><font size="4">Heading 2</font></a></li>
<li><a class="btn" data-edit="formatblock h3" title="H3"><font size="3">Heading 3</font></a></li>
<li><a class="btn" data-edit="formatblock h4" title="H4"><font size="2">Heading 4</font></a></li>
<li><a class="btn" data-edit="formatblock h5" title="H5"><font size="1">Heading 5</font></a></li>
</ul>
</div>

<div class="btn-group">
<a class="btn" data-edit="bold" title="Bold (Ctrl/Cmd+B)"><i class="icon-bold"></i></a>
<a class="btn" data-edit="italic" title="Italic (Ctrl/Cmd+I)"><i class="icon-italic"></i></a>
Expand Down