Discuții » Cerere de creare

Highlight non-breaking spaces in inputs

§
Postat în: 21-12-2020
Editat în: 21-12-2020

I'd like to have a script that would automatically highlight non-breaking spaces in inputs, and so that would continuously update when I type in search of non-breaking spaces. Does anybody know something similar to this?

§
Postat în: 21-12-2020

Maybe I can do this. I will return and tell you later

§
Postat în: 21-12-2020

+1. nice

§
Postat în: 21-12-2020

I'm back and that's what I figured out: it is possible to do, but it would be way better if this script will do its job either on its own, prepared page, either on a specific preassigned website. Otherwise, if the script will try to make any input highlighted on any website, it would be buggy and unstable.

§
Postat în: 21-12-2020
Editat în: 21-12-2020

I see. The reason I ask this is for translation purposes: there needs to be non-breaking spaces before some characters in my language. Highlighting them would make it easier to spot them. Would it be possible to apply it on Crowdin? https://crowdin.com/
And thank you very much for your kind help!

§
Postat în: 21-12-2020

Wow, you're doing God's work!! Thank you so much! The only snag is that the script stops working when switching to another string. It only works for the first string loaded on the page.

§
Postat în: 21-12-2020

Updated with fix (at same link)

§
Postat în: 22-12-2020

!!!! Thank you a zillion times!! That's absolutely perfect!

Postează un raspuns

Autentifică-te pentru a posta un răspuns.

长期地址
遇到问题?请前往 GitHub 提 Issues。