How to add custom class in wagtail richtextfiled
问题 how can i add button which adds class in hallo.js editor? Here is my code, but it dont works, it ony register fuction in wagtai;s edit interface. In the end I need to add any class to selection or current tag. Mb I can see it in html in someway and add classes manually? (function() { (function(jQuery) { return jQuery.widget('IKS.center', { options: { editable: null, toolbar: null, uuid: '', buttonCssClass: 'center' }, populateToolbar: function(toolbar) { var buttonElement, buttonset;