Open ijgnd opened 5 years ago
This is a great idea. I'll see how much effort this is likely to take.
I made a new version of the idea from february. I did some short tests in Windows and Linux and so far it works. I don't have a Mac.
The wysiwyg editor "tinymce" is now loaded into the answer of a card.
tinymce now is loaded from the add-on folder. the tinymce config is loaded from a file from the mediacollection - this allows to have different settings per profile.
I "hide" the question by putting <script>pycmd("ans");</script>
into the Front Template.
To use this setup you need to install an ankiaddon file and import an apkg from here.
The following screencast was made on a very slow windows machine (to test if I run into problems with asynchronously run stuff.
in the screencast I also use Open linked pdf, docx, epub, audio/video, etc. in external Program to open the pdf file.
Thanks for doing all the groundwork. I've been tied up with other commitments for most of the year, and I'll admit that I haven't used this add-on for a while, let alone hacked on it.
I'll try to refamiliarise myself over the holidays and clear the backlog of outstanding issues.
I gave up on modifying the reviewer. Instead I just open the Editcurrent window and add some functions there, see Cut/Copy from editor to new note or add window (with scheduling). I reused some scheduling code from the ir add-on.
@ijgnd
Sorry, why did you delete all tutorial GIFs from this ADDon (Open linked pdf docs epub audio video etc in external Program)
https://ankiweb.net/shared/info/879473266
this is ADDon was being the god of All Anki ADDons. Now I can not reuse it.
First of all: Thanks for this great add-on and all the work you put into it.
I wish this add-on would allow to edit the texts you see during reviews (reading) without opening them in an edit window: Sometimes I want to reword or reorder some sentences. In theory I could extract it and then edit the new note. But it would be much less distracting to do it in place and it's also closer to experience of the original (supermemo).
I don't know if this fits the vision you have for the IR addon (then single key shortcuts woudln't work anymore ...) or how much work this might entail.
Maybe the recently released great add-on named Edit Field During Review by kelciour which allows to edit the underlying note during the review of a card offers something interesting.[1]
[1] somewhat off-topic: I was curious and to learn about programming and anki I made some additions. Turns out you can quickly extend kelciour's add-on so that during reviews there is a full wysiwyg editor (tinymce), see this short clip. The source code for the video is here (and here's a version to edit a field of the editor). In response to kelciour's add-on glutanimate has posted "I would really love to explore more options to integrate a proper WYSIWYG editor into Anki itself.", see this reddit thread.