Hi
I just made some changes to the HTML and CSS in my notes
Does AnkiHub allow syncing of these changes?
Thanks
Hi
I just made some changes to the HTML and CSS in my notes
Does AnkiHub allow syncing of these changes?
Thanks
Hello,
It depends. You can certainly edit your CSS. However, depending on which edits you make they may be preserved, or may be overwritten, by Ankihub upon your next sync.
There is a certain degree of modification that is possible, though some elements are protected in order to prevent drastic, or breaking, alterations to the note type and its functions.
Please let me know if that answers your question, and if thereβs anything else I can help with.
Thanks for your reply
I made changes and added a field that was not visible and some spicing corrections.
Are there any changes, such as adding scripts, that cannot be done?
Itβs less a question, in most cases, of what can or cannot be done and more a question of which changes will be overwritten and/or simply break a sync.
In most cases, to my understanding, if you start adding fields to the note type/s you run a significant risk of causing errors with the syncing process, as the server copy and your local copy are no longer in compatible agreement.
As an easy example, if you go to the edit screen for a given card and click on βCardsβ as below:
You should get a screen that looks like this:
From here you will see a bunch of the CSS code and formatting instructions for the note. Most, if not all, of this is synced to Ankihub and in most cases will be overwritten if you make changes to it (this is not a hard-and-fast rule).
However, if you scroll to the very bottom you will see this message:
If you make changes outside of this boundary, those changes are more likely to either not break the note type, not be overwritten, or both. There are limitations to what changes can be made without causing agreement issues, however.
Please let me know if that answers your question, and if thereβs anything else I can help with.