wikimedia / wikipedia-preview

https://wikimedia.github.io/wikipedia-preview/main
MIT License
64 stars 23 forks source link

How to make link detection work in combination with VueJS3? #184

Closed doebi closed 1 month ago

doebi commented 8 months ago

Hi, I successfully embedded this snippet in my Vue3 application and invoke from within my applicaiton. But no matter how I configure the call to init() it does not find any links at all.

The debugger reports the correct configuration, and I am able to verify it manually, but it still does not detect any links:

2024-01-20_15-47

Any hint what I might be missing here?

hueitan commented 8 months ago

have you set detectLinks to true in your init()?

edit: can u also try running init() when page is fully loaded?

hueitan commented 1 month ago

Close the issue for now, but feel free to reopen it if you need further assistance.