<p>I've set up a custom redactor .json file which works and shows up on the dropdown, however, whenever I'm selecting one of the options the text in the field isn't updating to the chosen style.</p>

<p>I've attached some images so you can see what I mean:</p>

<p><a href="https://i.sstatic.net/XjWjt.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XjWjt.png" alt="JSON of custom redactor type"></a></p>

<p><a href="https://i.sstatic.net/rzD1j.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/rzD1j.png" alt="CraftCMS redactor dropdown with options shown"></a></p>

<p><a href="https://i.sstatic.net/l6628.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/l6628.png" alt="highlighted lorem ipsum text in a span tag with a class of red"></a></p>

<p><a href="https://i.sstatic.net/4HQYP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4HQYP.png" alt="lorem ipsum text"></a></p>

<hr>

<p>It works on the front end but I'm a little puzzled why it's not showing on this side.</p>

<p>This is the first time I've done custom redactor options before so I could've potentially missed a step on getting it to work? I've had a look in the docs and couldn't find what I was looking for so any help would be appreciated.</p>

<p>Cheers</p>

CC BY-SA 4.0
2018-10-02T12:58:06.820Z
Hmm just a guess, have you added some CSS to the CP to style ".red" ?
James Greig
CC BY-SA 4.0
2018-10-02T15:02:22.737Z
Haha, yes I have. Everything is in a custom CSS file and hooked up.
fbnntt
<craft3><redactor>
Redactor customisation not showing in Redactor text field
# Redactor customisation not showing in Redactor text field

(Asked by: username_0 on 2018-10-02)

I've set up a custom redactor .json file which works and shows up on the dropdown, however, whenever I'm selecting one of the options the text in the field isn't updating to the chosen style.

I've attached some images so you can see what I mean:

[![JSON of custom redactor type](https://i.sstatic.net/XjWjt.png)](https://i.sstatic.net/XjWjt.png)

[![CraftCMS redactor dropdown with options shown](https://i.sstatic.net/rzD1j.png)](https://i.sstatic.net/rzD1j.png)

[![highlighted lorem ipsum text in a span tag with a class of red](https://i.sstatic.net/l6628.png)](https://i.sstatic.net/l6628.png)

[![lorem ipsum text](https://i.sstatic.net/4HQYP.png)](https://i.sstatic.net/4HQYP.png)

---

It works on the front end but I'm a little puzzled why it's not showing on this side.

This is the first time I've done custom redactor options before so I could've potentially missed a step on getting it to work? I've had a look in the docs and couldn't find what I was looking for so any help would be appreciated.

Cheers

**Tags:** craft3, redactor
> **Comments:**
> **username_1**: Hmm just a guess, have you added some CSS to the CP to style ".red" ?  
> **username_0**: Haha, yes I have. Everything is in a custom CSS file and hooked up.  

---

## 0 answers

