diff --git a/CONTRIBUTORS b/CONTRIBUTORS index bff13c38e..d91ccc3d2 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -177,6 +177,7 @@ RRomeroJr <117.rromero@gmail.com> Xidorn Quan Alexander Bocken James Elmore +David Culley <6276049+davidculley@users.noreply.github.com> Rastislav Kish ******************** diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index b6c28c308..0f447bb02 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -323,25 +323,17 @@ require("anki/ui").loaded.then(() => require("anki/NoteEditor").instances[0].too class_ = "rounded" if not disables: class_ += " perm" - return """""".format( - imgelm=imgelm, - cmd=cmd, - tip=tip, - labelelm=labelelm, - id=idstr, - togglesc=toggleScript, - class_=class_, - ) + """ def setupShortcuts(self) -> None: # if a third element is provided, enable shortcut even when no field selected