summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2014-03-30 13:08:26 +0200
committerMarcel Klehr <mklehr@gmx.net>2014-03-30 13:08:26 +0200
commit33ecc1d8df644c3a2b68a1f9f09796e269fcbc0f (patch)
tree8d1a92316e1165023911f3caa13a5c9a00655dd6
parent80e45e1192e4f3c66d3c35962fbbbfb980fa624c (diff)
downloadetherpad-lite-33ecc1d8df644c3a2b68a1f9f09796e269fcbc0f.zip
Update docs
-rw-r--r--doc/api/toolbar.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/api/toolbar.md b/doc/api/toolbar.md
index 1ca61ced..03a3d8f8 100644
--- a/doc/api/toolbar.md
+++ b/doc/api/toolbar.md
@@ -14,7 +14,17 @@ Example:
var orderedlist = toolbar.button({
command: "insertorderedlist",
localizationId: "pad.toolbar.ol.title",
- class: "buttonicon-insertorderedlist"
+ class: "buttonicon buttonicon-insertorderedlist"
+})
+```
+
+You can also create buttons with text:
+
+```
+var myButton = toolbar.button({
+ command: "myButton",
+ localizationId: "myPlugin.toolbar.myButton",
+ class: "buttontext"
})
```