2

I would like to install a Redactor plugin (http://imperavi.com/redactor/plugins/font-color/)

I placed the fontcolor.js into craft/app/ressources/lib/redactor/plugins and added
buttons: ['fontcolor', 'backcolor'] plugins: ['fontcolor'] to my redactor json config file. but without success.

Am I missing something ?

Thanks a lot,

Antoine

2 Answers 2

3

If this is still required I've built a plugin, Redactor Extras: https://github.com/elliotlewis/Redactor-Extras

You can add your own JS via the Plugin. I'm updating and adding plugins from Redactors site regularly. I'll add font-color next. But good use with your own code.

1
  • 1
    Sounds very useful! Does it work with Craft 3? Commented Mar 12, 2020 at 9:12
2

You have to add the JS with a Craft plugin, either a custom one making use of includeJsResource (see this answer for code example) or with the Control Panel JS plugin.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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