Discussions » Creation Requests

Highlight non-breaking spaces in inputs

§
Posted: 2020-12-21
Edited: 2020-12-21

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?

§
Posted: 2020-12-21

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

§
Posted: 2020-12-21

+1. nice

§
Posted: 2020-12-21

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.

§
Posted: 2020-12-21
Edited: 2020-12-21

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!

§
Posted: 2020-12-21

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.

§
Posted: 2020-12-21

Updated with fix (at same link)

§
Posted: 2020-12-22

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

Post reply

Sign in to post a reply.