I'm having trouble getting the redactorStyles plugin to work. I am running Craft 2.3.2627

Redactor Styles v. 0.2

Here's the json in the json field:

"btnName":"Drop Cap", 
"forceBlock": "-1"

I have an external stylesheet, the field is set to: /assets/css/redactorStyles.css

I am not getting any errors in the CP but I also don't get the styles nor do I see the want icon for the plugin dropdown.

Here's the content from the redactor config file:

buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video'],    
plugins: ['fullscreen','video','styles'],
toolbarFixed: true,
stylesJson: RedactorStyles.stylesJson


Can anyone tell me if I am doing something wrong here or if there is a bigger issue? I'm new to Craft.




2 Answers 2


Craft 2.3 upgraded Redactor to version 10, which comes with a completely new API for plugins. This broke RedactorStyles which relied on the old API.

I've updated the plugin now, so downloading version 0.3 should make it work with Craft 2.3. Beware that the plugin isn't 100% backwards compatible, due to changes in Redactor and its API, so read the docs.


Redactor plugins need a little bit of extra work in Craft. They need to be added through a custom Craft plugin first. Take a look at this plugin as an example, particularly where the css and js are stored.

  • Thanks for replying. I have installed the actual redactor styles plugin itself, and the plugin controls are coming up via the control panel. I don't know if I am not understanding the documentation or not, but as I understand it, I am supposed to put the json snippet into the field for json in the plugin controls and then I can specify an external style sheet which I did at the path above. The thing is, not only is it not displaying the styles I added, but it also is not even showing the styles control for the plugin in redactor even though I added the plugin to my config. Feb 4, 2015 at 15:23
  • I tried installing the plugin on my own dev site and it looks like I'm getting the same problem you are. Everything is installing right, and from what I can tell the JSON and CSS are being pushed to the edit entry page. I recommend reaching out to the plugin developers with this issue! Feb 4, 2015 at 20:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.