Can't "Publish style/template updates"

I have made some big changes to my note type but can’t seem to publish them. This happens often. The button in the Ankihub menu is changed. Is there somewhere I can manually paste the HTML and CSS on AnkiHub?

Thinking

Search
Found 0 results for ā€˜tags:official Publish style/template updates button disabled category::person_raising_hand: Support order:latest max_posts:10 status:open’

Search
Found 3 results for ā€˜tags:official Publish style/template updates order:latest max_posts:10 status:open’

Here’s what’s going on and how you can move forward:

1. Why ā€œPublish style/template updatesā€ is greyed out

That button is only enabled when AnkiHub detects pending template/style changes for a note type that is:

  • Already linked to an AnkiHub deck, and
  • Owned by you (you’re the deck owner or have publisher rights), and
  • Fully synced and up‑to‑date with AnkiHub.

If any of those aren’t true, the style/template publish button will stay disabled even if you changed the templates in Anki.

So first double‑check:

  1. In Anki, open AnkiHub → Manage AnkiHub decks and confirm:
    • The note type you edited is actually attached to your Mastering Radiology AnkiHub deck.
    • You’re logged in with the same account that owns that deck (or has publisher role).
  2. Click Sync with AnkiHub for that deck and wait for it to finish.
    Then re‑open the AnkiHub menu and see if the button becomes clickable.

If it’s still disabled after that, it’s usually a bug or a mismatch between the local note type and the one AnkiHub thinks is attached.


2. Can you manually paste HTML/CSS on the AnkiHub website?

Currently there’s no web interface to paste or edit the card templates/CSS directly on AnkiHub.
All template/style changes must be:

  1. Made in Anki’s Cards… screen (front/back templates + styling), and
  2. Published via the AnkiHub add‑on (using the ā€œPublish style/template updatesā€ workflow).

So manual pasting on the website unfortunately isn’t an option right now.


3. How to avoid losing your changes & help us debug

Until this is sorted:

  • Backup your templates/CSS:
    • In Anki, open the note type → Cards… → copy the Front, Back, and Styling to a text file.
  • If you’re comfortable, you can also:
    • Create a new temporary note type with the same fields, paste your templates/CSS there, and attach that new note type to a small test deck to see if the publish button works in that context.

If you’re okay with it, it would also help to know:

  • The exact Anki version and AnkiHub add‑on version you’re using.
  • Whether this note type was originally created by you or imported from another deck and then attached to AnkiHub.

Once you share that, we can decide whether you’re hitting a known bug (in which case we’ll escalate it) or a linking/config issue with that specific note type.

Hello,

Could you please specify which major changes you made to your note type? Certain types of changes are not supported yet, such as deleting fields.

I added an html script on the back template of the card that allows the user to ctrl+left click an image to temporarily make it full screen. Mainly to be used by people reviewing on laptops and other small screen devices.

To help us investigate this further, could you please upload your logs? Here’s how:

  1. In the Anki app, navigate to the menu: AnkiHub > Help > Upload Logs.
  2. A filename will be shown in a confirmation pop-up. Please copy and paste that filename here for us.

ankihub_addon_logs_drradiology_1772460781.log

Thanks!

I was eventually able to submit the template changes (it was an option on the deck). I’m not sure what was different besides I went to my laptop and checked if it was available.

One possible cause is if you add new changes under the ANKIHUB_END section. Changes there are not uploaded.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.