lib/wysihat-engine.rb in wysihat-engine-0.1.3 vs lib/wysihat-engine.rb in wysihat-engine-0.1.4
- old
+ new
@@ -20,10 +20,10 @@
buttons, helpers = '', ''
case options['buttons']
when nil, :all
- options['buttons'] = [:bold, :italic, :underline, :strikethrough, :justify_left, :justify_center, :justify_right, :insert_ordered_list, :insert_unordered_list, :undo, :redo, :link, :html, :paste, :image]
+ options['buttons'] = [:bold, :italic, :underline, :strikethrough, :justify_left, :justify_center, :justify_right, :insert_ordered_list, :insert_unordered_list, :undo, :redo, :link, :html, :image]
end
content_tag(
:script,
"addButtons('#{tag_id}', ['#{options.delete('buttons').join('\', \'')}']);",
\ No newline at end of file