aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-25 23:40:27 +0100
committercodecalm <codecalm@gmail.com>2020-03-25 23:40:27 +0100
commitc0605bce101fbe34fd31cf1288c9d7513eb1c023 (patch)
treeb408b59a58cfcd0fd194f32fcd78a3fdfa97ec7b /src
parenttoolbar fixes (diff)
downloadtabler-icons-c0605bce101fbe34fd31cf1288c9d7513eb1c023.tar.xz
subscript, superscript #11
Diffstat (limited to 'src')
-rw-r--r--src/_icons/subscript.svg6
-rw-r--r--src/_icons/superscript.svg6
-rw-r--r--src/editor.html4
3 files changed, 14 insertions, 2 deletions
diff --git a/src/_icons/subscript.svg b/src/_icons/subscript.svg
new file mode 100644
index 00000000..88e72460
--- /dev/null
+++ b/src/_icons/subscript.svg
@@ -0,0 +1,6 @@
+---
+---
+<svg>
+ <path d="M4 7l8 10m-8 0l8 -10"></path>
+ <path d="M21 20h-4l3.5 -4a1.73 1.73 0 00-3.5 -2"></path>
+</svg>
diff --git a/src/_icons/superscript.svg b/src/_icons/superscript.svg
new file mode 100644
index 00000000..cb263a5c
--- /dev/null
+++ b/src/_icons/superscript.svg
@@ -0,0 +1,6 @@
+---
+---
+<svg>
+ <path d="M4 7l8 10m-8 0l8 -10"></path>
+ <path d="M21 11h-4l3.5 -4a1.73 1.73 0 00-3.5 -2"></path>
+</svg>
diff --git a/src/editor.html b/src/editor.html
index 193bcff2..7eefad1f 100644
--- a/src/editor.html
+++ b/src/editor.html
@@ -2,7 +2,7 @@
layout: default
---
-{% assign toolbar = 'arrow-back-up,arrow-forward-up,printer,paint|bold,italic,underline,strikethrough|align-left,align-center,align-right,align-justified,line-height|list,list-check|link,photo,table|sort-ascending,sort-descending|indent-increase,indent-decrease' | split: '|' %}
+{% assign toolbar = 'arrow-back-up,arrow-forward-up,printer,paint|bold,italic,underline,strikethrough|align-left,align-center,align-right,align-justified,line-height|list,list-check|link,photo,table|sort-ascending,sort-descending|indent-increase,indent-decrease|subscript,superscript' | split: '|' %}
<div class="container">
@@ -79,7 +79,7 @@ layout: default
{% 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>
+ <div class="button js-icon" data-icon="{{ button }}">{% include icon.html name=button %}</div>
{% endfor %}
</div>
{% endfor %}