Giter VIP home page Giter VIP logo

Comments (8)

BlueGreenMagick avatar BlueGreenMagick commented on August 22, 2024

Sorry for the bug, I think I figured out what the issue is. Could you try editing the addon's global_card.js file and replace all occurence of "ControlLeft" with "OSLeft"?

from edit-field-during-review-cloze.

AnKingMed avatar AnKingMed commented on August 22, 2024

I did that and now when I flip my cards over I'm getting the error "Invalid HTML on card:Reference Error:EFDRC is not defined

Edit: must have made some error somewhere. It's working now, but I still can't use ctrl+click

from edit-field-during-review-cloze.

BlueGreenMagick avatar BlueGreenMagick commented on August 22, 2024

I suspect you missed a quote mark somewhere. Could you copy paste the code here and try again? https://pastebin.com/wgXy84ZN

from edit-field-during-review-cloze.

AnKingMed avatar AnKingMed commented on August 22, 2024

I just edited my comment there- I broke something, but redownloaded the add-on and tried again and ctrl+click still wasn't working (I only changed two instances to OSLeft at the bottom). Is there more changes?

from edit-field-during-review-cloze.

BlueGreenMagick avatar BlueGreenMagick commented on August 22, 2024

I was pretty sure it would be OSLeft... Could you try replacing the entire js file with the following:

window.addEventListener('keydown',function(event){
        document.body.innerHTML = event.code
})

Then press cmd, and copy paste what is written on the card?

from edit-field-during-review-cloze.

AnKingMed avatar AnKingMed commented on August 22, 2024

"MetaLeft" is what shows up

from edit-field-during-review-cloze.

BlueGreenMagick avatar BlueGreenMagick commented on August 22, 2024

I pushed the update to ankiweb. Could you try updating the addon and see if the issue is fixed?

from edit-field-during-review-cloze.

AnKingMed avatar AnKingMed commented on August 22, 2024

Working now! Thanks for the extremely quick fix

from edit-field-during-review-cloze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.