ijgnd / anki21__editor_add_hyperlink

5 stars 7 forks source link

bugs: link text wrongly inserted (since 2.1.50 or newer) #16

Closed ijgnd closed 1 year ago

ijgnd commented 1 year ago

detailed report at https://forums.ankiweb.net/t/add-hyperlink-official-thread/540/27

ijgnd commented 1 year ago

broken since 2.1.50 or newer. it works up to 2.1.49.

relevant line is https://github.com/ijgnd/anki21__editor_add_hyperlink/blob/83f5bf26415e96d3ab4de5ed57bc9f9fcdbcda85/src/add_hyperlinks.py#L60

document.execCommand("CreateLink", ... behaves differently now

ijgnd commented 1 year ago

see https://github.com/ijgnd/anki21__editor_add_hyperlink/issues/18