aboutsummaryrefslogtreecommitdiff
path: root/src/editor.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.html')
-rw-r--r--src/editor.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/editor.html b/src/editor.html
index 3a928f2..688cf5e 100644
--- a/src/editor.html
+++ b/src/editor.html
@@ -1,6 +1,10 @@
---
layout: default
---
+
+{% assign toolbar = 'bold,italic,underline|align-left,align-center,align-right,align-justified|list,list-check' | split: '|' %}
+
+
<div class="container">
<div class="box">
@@ -69,6 +73,19 @@ layout: default
</div>
</div>
+ <div class="mb">
+ <div class="toolbar">
+ {% for group in toolbar %}
+ {% assign buttons = group | split: ',' %}
+ <div class="buttons">
+ {% for button in buttons %}
+ <div class="button js-icon" data-icon="{{ name }}">{% include icon.html name=button %}</div>
+ {% endfor %}
+ </div>
+ {% endfor %}
+ </div>
+ </div>
+
<h2 class="icon-subtitle">{{ site.icons.size }} icons</h2>
<div class="mb">