Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function($)
- {
- $.Redactor.prototype.abbr = function()
- {
- return {
- init: function ()
- {
- var button = this.button.add('abbr', 'Abbreviation');
- this.button.setIcon(button, '<i class="re-icon-toggle"></i>');
- this.button.addCallback(button, function()
- {
- this.inline.format('abbr', 'title', 'test');
- });
- }
- };
- };
- })(jQuery);
Add Comment
Please, Sign In to add comment