Whitespace in Editor

Just hunted down a dum Bug, ( took me nearly half an hour :frowning: )
there was a whitespace at the end of name in editor…
my wrong, but I belive it would be easy to eliminate leading and ending whitespaces…
( I think I could do even without regex :smiley: )


I become cucumber many years befor Rick

As in the name of an Entity in the Editor?

I use/work with Play/canvs I thinck over 5 Years, this was the first exident… :slight_smile:


ok, You can’t see but asume there is some kinf of whitespace after Name

Added to Editor repo as a question: Should we remove trailing whitespace in Entity? · Issue #775 · playcanvas/editor · GitHub