Oliver Geer
Oliver Geer
I believe this is fixed after #149, and can be tested with the code in the `main` branch right now or in the next release.
Also, the game defaulted to creating a `flat` world when the `singlenode` world looks more like what you want.
> You need to recursively clone the repository to get submodules. `git clone --recursive` Thank you! That was a very quick response.
Thanks for all your effort maintaining PhotoSwipe, and making it both progressively enhanced and intuitive to use! Please do let me know if I should go ahead creating a PR...
This bug occurs in v2.3.1 (the CodePen demo) and v2.4.0 (tests folder) of code-input.
Still reproducible on `main`.
On current `main` branch, `offsetTop` of highlighted spans is zero when prism line numbers is used, but not when prism is used without line numbers (but codeInput's prism line numbers...
Add more for changing template attribute value, programmatically creating code-input elements, etc. Support feels patchy.
Potentially use https://www.selenium.dev/ or similar, rather than personally hacked-together code.
Thanks for pointing this out! The problem appears to be that the HTML `dir` attribute is not synchronised between the editable textarea and displayed pre code elements. Also, some highlighting...