ijgnd / anki__editor__apply__font_color__background_color__custom_class__custom_style

Other
12 stars 2 forks source link

Incremental-reading add-on? hbir_init()? #27

Open hgiesel opened 3 years ago

hgiesel commented 3 years ago

I wonder what is the background of this method call?

https://github.com/ijgnd/anki__editor__apply__font_color__background_color__custom_class__custom_style/blob/5eeadb3c80656332f554358a085bb88ab15177df/src/editor_set_css_js_for_webview.py#L144

I couldn't find anything about this method. For me, the method call will always fail, in both the Ankiweb version and the version on GitHub.

ijgnd commented 3 years ago

That refers to this add-on. I haven't uploaded the latest version to ankiweb. I tentatively changed the add-on name to "half-baked incremental reading", so I refer to it with "hbir".

It still doesn't fully work but I can upload what I have later tonight to ankiweb. Maybe it's interesting for someone.

This new version also uses the js library rangy. I haven't looked at the hbir add-on in a longer time. For some reason it seemed like a good idea to load rangy from the classes add-on. Keep in mind that my js knowledge is very, very limited.