Tried adding
test
to my sig after three newlines and it didn't update. The preview still works.
The bug might be how the Maximum amount of lines setting is communicated to the user rather than a bug in the system itself.
IIRC the preview should consider limitations as well (but I may wrong, of course).
That said, I don't remember what kind of limits we have here...
By my tests, multiple new lines are trimmed down to one.
So I guess it is kind of intended.
That said, is this an acceptable behaviour?
Or it is better to let new lines be?
You're wrong. :P (It doesn't, at least not on this site.)
The problem is merely that the user doesn't know that the reason their signature is only displaying x lines is because it's trimmed down to x lines.
For a realtime JS thingy you'd need a simple line number thingy along these lines
function getLineNumber(element) {
return element.val().split('\n').length;
}
and a simple onkeyup or something that checks whether that's smaller than or equal to the limit.
I mean that similar to how it says "Max characters: 300; characters remaining: 300"
Also you get an error from the server if you try to update your profile:
That doesn't happen for newlines.
Good point. nods
PR, BR, or FR
QR