# “撰写”窗格工具栏上的图标

**URL:** https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522
**Category:** Support
**Created:** [2018年三月22日 00:18 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522 "2018-03-22T00:18:00Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [2018年三月22日 00:18 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522/1 "2018-03-22T00:18:00Z")

</div>

I’m modifying the icons on the compose pane toolbar. The default icons are shown below: -

 ![45%20PM](https://global.discourse-cdn.com/meta/original/3X/c/4/c452d8818ecf5a9803cbc7200f816fd1bd579452.jpg)

I’m displaying an extra book icon as I guessed the name of the icon. Is there a list of the built-in available icons?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2018年三月22日 01:21 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522/2 "2018-03-22T01:21:02Z")

</div>

> [@Biscuit](#):
>
> Is there a list of the built-in available icons?

Yes, we use font awesome. All of these icons should be available: [Font Awesome Cheatsheet](https://fontawesome.com/v4.7.0/cheatsheet/)

---

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [2018年三月22日 01:46 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522/3 "2018-03-22T01:46:53Z")

</div>

Thanks Kris.

That’s what I thought at first, but when I specify a FA icon name from that page it doesn’t display eg: “fa-paw” appears as a blank space, as did the other FA icon names I tried. Whereas if I choose “book” it works.

This is the context of it’s usage, in case that helps:

```
  api.onToolbarCreate(toolbar => {
  toolbar.addButton({
    id: "id_goes_here",
    group: "extras",
    icon: "book",
    title: "Title_Name",
    perform: e => e.addText("Test to add to compose textbox.")        
  }); 
});

```

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年三月22日 01:51 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522/4 "2018-03-22T01:51:42Z")

</div>

What font awesome version are you expecting?

---

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [2018年三月22日 01:58 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522/5 "2018-03-22T01:58:38Z")

</div>

I’m not specifically after Font Awesome. I’m just wanting a list of supported icons so I can choose suitable ones.

“Book” works - and I presume this isn’t font awesome, so presumably there’s some specific unicode icons supported? Or, perhaps there’s a special way to list the FA icon name in my code above that I’m not doing.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [2018年三月22日 02:59 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522/6 "2018-03-22T02:59:41Z")

</div>

> [@Biscuit](#):
>
> That’s what I thought at first, but when I specify a FA icon name from that page it doesn’t display eg: “fa-paw” appears as a blank space, as did the other FA icon names I tried. Whereas if I choose “book” it works.

No, ‘book’ works because behind the scenes it is being changed to ‘fa-book’, for ‘paw’ to work, you would have to use ‘paw’.

---

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [2018年三月22日 03:07 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522/7 "2018-03-22T03:07:49Z")

</div>

Perfect @cpradio, “Paw” worked correctly.

So now I can reference the FA icon list that Kris provided above.

Thanks all. I’m sorted.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2018年三月26日 22:00 UTC](https://meta.discourse.org/t/icons-on-the-compose-pane-toolbar/83522/8 "2018-03-26T22:00:08Z")

</div>

This topic was automatically closed after 33 hours. New replies are no longer allowed.
