That shouldn’t happen. But I can’t reproduce the problem. If the affected note doesn’t contain private or copyrighted material can you share it, i.e. export it and share the link for this exported deck?
Yes
I have it as a file on my pc, how can I share it with you?
@ape: you can send the file to tso3428or@mozmail.com or could put it in your dropbox/gdrive/onedrive, share it and post the link.
@ape: in case you sent the video file. I can’t play it on my machine.
Another idea: Could you post the html source code of the affected field in this forum. to display the html source code of a field while you are in the extra window of my add-on: in the top bar of this window click on Tools->Source code.
When I insert programming code snippet - the tinymce editor shows css styling nicely but when I save changes to Anki - styling is gone. I think Anki is missing that class=“language-java”. Can you please check?
@Pasikiskis : Could you share more details, e.g. you could export the affected note and share the deck and say which anki version and which addons (in which version) you use and maybe share a screencast. If you are not using the latest anki version and the latest addon versions try these.
I just tried in a new profile with two addons: my extended editor and the addon highlight code. I formatted a code snippet using higlight.js which adds <code class="language-java">. Then I edited it in an tinymce window and the html source code was basically unchanged and the code class language-java was not removed. So I can’t reproduce your problem at the moment.
Hello, thank you for this add-on.
Could you please tell me how to assign a shortcut to open the default dialog?
It is set to Ctrl+0 but it is not working.
I am using mac os and have tried setting it to “Command+0” but it does not work either.
When i hover over the TM Button it shows () which means that there is no shortcut assigned to it.
Thank you.
I just tried on MacOS and just installed my addon. After restarting Anki I can use Cmd+0 in the editor to open my extra window with the default config.
Then I changed the addon config to “ctrl+p”, closed all add and browser windows, and then after reopening an add window I could use cmd+p to open a new window of my addon.
if the help text when you hover is empty this indicates that you haven’t set a valid text in the addon config.
If this doesn’t work for you I suggest the following:
- reset the config of my add-on. If you don’t know how to do this delete my addon and reinstall it and then restart anki
- if this doesn’t help: Disable all other addons and restart Anki. One of the most common source of problems is bad interactions between add-ons and no one can test all combinations of all 1200 addons published … If two addons use the same key combo as shortcuts this key combo has no effect at all.
- if this doesn’t work: post more info like a screencast showing the config etc. Also which anki version do you use? which macos version do you use? If you are using an old anki version maybe update to a more recent one and try again.
- if you add “Ctrl+” in the addon config on macos this means you need to press “cmd+”. this probably means that shortcuts that use ctrl on macos are not possible with my addon at the moment.
Thank you so much for your in-depth help.
I read and tried 3 times before i understood the shortcut worked in the editor only
. I was fiercely tapping my keyboard in the browser…
Nonetheless this is an amazing add-on.
Thank you for your work. People like you make ANKI just more inviting and relieve some of our stress. ![]()
![]()
can you add a quick button to apply “header cell” property for selected table cells ?
Thanks for the suggestion. I like this idea. I’ll include a similar feature “convert the first row to header cells (th)” in the next release. Timeline: in the coming weeks.
thanks for the reply. could you also add the same feature for the first column?
hello! thank you so much for this add-on. i was wondering if anyone could troubleshoot these codes as they don’t allow manual adjustment of the tables
i think installing the AnKing easy customization add-on might have messed with it.
source code from TM: pastebin . com/7agiVT6X
anking note code: pastebin . com/Lb0PvMXU
I’ll have more time from early june on.
i think the anking easy customization addon is mostly about card templates for reviews and not the editor. But I haven’t tried it. you could disable it, restart anki, and check if this makes a difference. to be on the safe side: disable all other addons (except mine) and restart anki and try again.
you could also run into a limitation of the bundled wysiwyg editor. my addon is only about bundling this and not about fixing or extending the bundled editor. So you could try, if the editor named tinymce works with your content in other contexts. I guess your content is not sensitive/private so you could maybe try out if it works in a public instance of tinymce that’s meant to showcase the editor, i.e. i would have a look at e.g. Free WYSIWYG HTML Editor | Download TinyMCE or Get Cloud Version | TinyMCE
so my question is: Does this problem only occur only in my add-on with no other add-ons enabled while it’s working in the aforementioned public tinymce instances? If so, maybe I’ll just have to update the bundled version that’s about a year old (which I’ll do in June …)
hi! i’ve disabled all other add-ons and i’m still not able to manually adjust the tables. however, i can adjust previously made tables (before i ran into this problem).
unfortunately, i’m not able to figure out how to work with the public tinymce ![]()
it’s not urgent so maybe i’ll just wait for june! thanks so much for your work <3
in the anki editor (at the bottom of your browser window): The </> button on the top right of each field allows editing the underlying HTML of a field, see Adding/Editing - Anki Manual
This allows you to copy the underlying html code of the field from your note.
the wysiwyg editor my addon bundles named tinymce also has an option to view the html source code. In my addon in the extra window look at the menu bar → View → source code.
this tinymce menu is also usually available in the online tinymce instances I linked to in my prior post: so with View-> source code you can insert html source code into this online tinymce instance.
With these steps you can copy exactly the html source code from your anki note into this online editor and check if in this online editor you can adjust the table manually or not
If it doesn’t work in the online editor there’s nothing I can do. If it works there but not in my add-on I’ll look into this in the summer.
you could also manually edit the html you put on pastebin and remove all width or height properties. Maybe try to remove the … element from the third line. colgroup is used to apply some properties to columns of a table. Maybe this prevents some width adjustments?
hello! truly appreciate you taking the time to help me. i meant i cannot figure out how to use the online tinymce editor itself. i have already replaced the “no api key”.
fortunately, removing the colgroup fixed the issue for me, thank you very much! i hope removing this line will not give rise to future issues. thank you so much again for your wonderful add-on :'D
First of all thank you so much for making such a useful add-on !
I am using the latest version with anki v24.04.1 on macos and have noticed that it caused memory leak, adding about 100mb of ram usage each time I used it. At first it is not a big problem, but with enough openings it slows down anki a lot, and I am then forced to restart it.
Am I the only one to notice this issue ?
Thank you very much for your help !
thanks for notifying me. I will look into this in the coming month.
Hey, thanks for the add on, its working great.
However, I have an issue where when I copy a table from my google docs into the field, the table lines do not actually appear, only the visual aid lines appear. Am I doing something wrong or must I change something?
Thanks!