Bỏ qua đến nội dung

editor in addcards - autofocus to nth field

Chờ xử lý #anki #addon #editor #addcards #autofocus #nth #field
Unknown
28/11/2019

Cách tải addon editor in addcards - autofocus to nth field

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

657174783

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 657174783 và copy

2

Mô tả chi tiết

by default the focus/cursor is in the first field of a note when you start making a new note.

If you have an add-on like “Add note-id” that’s not ideal.

This add-on allows you to set the cursor to a different field. You can set this per note type in the add-on settings. The first field has the number/index zero. e.g. the field “Back” on the built-in notetype “Basic” has the value 1.

Use this at your own risk. It works for me. No support.

doesn’t work with the add-on “Advanced note editor (Multi-column, Frozen fields)”. When I use only the add-on “Advanced note editor” no line is focused and my add-on doesn’t change anything about this.

This add-on works with the regular “Frozen Fields” add-on.

other add-ons

Glutanimate’s add-on Quick Field Navigation gives you shortcuts to quickly change the focus to different fields.


Reviews (2)

👍 2020-10-22

I got this to work on Anki 2.0, thank you. I’m not sure if it’s dangerous that I also have Advanced Browser (for 2.0), which you made a comment about in the source code. Everything seems to be working at the moment. What does the comment about advanced browser mean? Is it a dangerous incompatibility?

For other users, here’s my modified version that works on 2.0. Save as your_filename.py in the addons folder:

The indentation does not render properly though.

==================================

👍 2019-12-07

Suggested enhancement: Jump to field with a shortcut (i.e Strl+5 or Alt+3) Comment from author Glutanimate’s add-on “Quick Field Navigation” (https://ankiweb.net/shared/info/734297936) gives you shortcuts to quickly change the focus to different fields. At the moment it’s 2.0 only but an update to 2.1 is promised in its review section.