mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Add filter on topbuts to allow addons to add buttons
This commit is contained in:
parent
81b60c6dc4
commit
5775c3f92e
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ class Editor(object):
|
|||
<button tabindex=-1 class=linkb type="button" onclick="pycmd('more');return false;"><img class=topbut src="qrc:/icons/more.png"></button>
|
||||
</div>
|
||||
""" % dict(flds=_("Fields"), cards=_("Cards"))
|
||||
topbuts = runFilter("setupEditorButtons", topbuts)
|
||||
self.web.stdHtml(_html % (
|
||||
self.mw.baseHTML(), anki.js.jquery,
|
||||
topbuts,
|
||||
|
|
Loading…
Reference in a new issue