SammyLin / redactor-rails

This repo is deprecated. Please check out official gem for Redactor 2. https://github.com/Redactor2/redactor2_rails
MIT License
389 stars 253 forks source link

How to add a plugin FontSize? #77

Closed araslanov-e closed 9 years ago

araslanov-e commented 11 years ago

Add file fontsize.js, and Object # has no method 'buttonAdd' for this.buttonAdd( 'fontsize', 'Change font size', false, dropdown)

wilgoszpl commented 9 years ago

I updated all supported plugins.

I'm not sure what caused the problem when you created this issue, but currently, after updating redactor editor, all you need to do is follow documentation here: https://github.com/SammyLin/redactor-rails#using-plugins

When I'm writing this comment, version of redactor-rails included this fix is not published to rubygems, so you should specify github: 'sammylin/redactor-rails' in your gemfile