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:
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:
- In Anki, open
AnkiHub ā Manage AnkiHub decksand 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).
- 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:
- Made in Ankiās Cards⦠screen (front/back templates + styling), and
- 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:
- In the Anki app, navigate to the menu:
AnkiHub > Help > Upload Logs. - 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.
