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:
parent
8ffe4578a3
commit
33dc914f01
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user