lib/wysihat-engine.rb in wysihat-engine-0.1.10 vs lib/wysihat-engine.rb in wysihat-engine-0.1.11

- old
+ new

@@ -15,10 +15,10 @@ size = options.delete("size") options["cols"], options["rows"] = size.split("x") if size && size.respond_to?(:split) if options['buttons'] == nil || options['buttons'] == :all - buttons = [:bold, :italic, :underline, :strikethrough, :h1, :h2, :h3, :p, :justify_left, :justify_center, :justify_right, :insert_ordered_list, :insert_unordered_list, :undo, :redo, :link, :html, :image] + buttons = [:bold, :italic, :underline, :strikethrough, :h1, :h2, :h3, :p, :justify_left, :justify_center, :justify_right, :insert_ordered_list, :insert_unordered_list, :undo, :redo, :link, :html, :image, :paste] else buttons = options['buttons'] end javascript = "Event.observe(window, 'load', function() {" <<