0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Add CSS class to wagtail richtext editor buttons.

This commit is contained in:
ticti 2015-09-17 23:19:11 +10:00
parent 8ffe4578a3
commit 33dc914f01
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@
return $(node).parents('a').get(0);
};
button = $('<span></span>');
button = jQuery('<span class="' + this.widgetName + '"></span>');
button.hallobutton({
uuid: this.options.uuid,
editable: this.options.editable,

View File

@ -10,7 +10,7 @@
var button, widget;
widget = this;
button = $('<span></span>');
button = jQuery('<span class="' + this.widgetName + '"></span>');
button.hallobutton({
uuid: this.options.uuid,
editable: this.options.editable,

View File

@ -10,7 +10,7 @@
var button, widget;
widget = this;
button = $('<span></span>');
button = jQuery('<span class="' + this.widgetName + '"></span>');
button.hallobutton({
uuid: this.options.uuid,
editable: this.options.editable,

View File

@ -10,7 +10,7 @@
var button, widget;
widget = this;
button = $('<span></span>');
button = jQuery('<span class="' + this.widgetName + '"></span>');
button.hallobutton({
uuid: this.options.uuid,
editable: this.options.editable,