anki icon indicating copy to clipboard operation
anki copied to clipboard

First field is shown as empty when it has an iframe

Open brishtibheja opened this issue 4 months ago • 2 comments

Try this for example:

<iframe width="560" height="315" src="https://www.youtube.com/embed/BHYUETg97sM" title="Jordan Peterson vs Slavoj Žižek Debate" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

The first field isn't empty, it just has an iframe.

brishtibheja avatar Aug 09 '25 06:08 brishtibheja

This is intentional. HTML tags are stripped.

abdnh avatar Aug 26 '25 17:08 abdnh

I think an exception should be made for certain tags like img and iframe, I can imagine this causing significant frustration if you're lets say trying to learn a sign language and the first field only has a video embedded in iframe.

brishtibheja avatar Aug 26 '25 23:08 brishtibheja