Error shows up when I try to add cards

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 26.09 (e62e7739) (ao)
Python 3.13.15 Qt 6.11.2 PyQt 6.11.0
Platform: macOS-26.6.2-arm64-arm-64bit-Mach-O

Traceback (most recent call last):

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/webview.py", line 198, in cmd

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/webview.py", line 285, in _onCmd

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/aqt/webview.py", line 848, in _onBridgeCmd

  File "/Users/runner/work/anki/anki/out/installer/build/anki/macos/app/Anki.app/Contents/Resources/app_packages/_aqt/hooks.py", line 5725, in __call__

  File "/Users/ashokgurung/Library/Application Support/Anki2/addons21/1322529746/gui/editor.py", line 426, in _on_js_message
    _refresh_buttons(context)
    ~~~~~~~~~~~~~~~~^^^^^^^^^

  File "/Users/ashokgurung/Library/Application Support/Anki2/addons21/1322529746/gui/editor.py", line 350, in _refresh_buttons
    note = editor.note
           ^^^^^^^^^^^

AttributeError: 'NewEditor' object has no attribute 'note'

Sentry link (for developers)

Hello,

Go to Anki → Preferences → Experiments → disable the experimental editor

Then completely quit and reopen Anki