PublicLab.Editor
PublicLab.Editor copied to clipboard
Error preventing posting - related to domador <li>?
When posting some bulleted content copied from this post, into a "new question" at https://publiclab.org/questions/new, I'm seeing this error on hitting "publish":
Uncaught RangeError: Invalid array length
at many (PublicLab.Editor.js:4333)
at padLeft (PublicLab.Editor.js:4337)
at Domador.li (PublicLab.Editor.js:4453)
That's for this line, in Domador:
function many (text, times) {
return new Array(times + 1).join(text);
}
To reproduce, try pasting the bullet points from the above-linked post and hitting publish; I was able to get it to happen again, but perhaps the exact circumstances are not simple.
@jywarren What exactly did you copy?
PUBLISHED to GCI dashboard
@jywarren I guess your circumstances differ from the "normal" ones. I am unable to reproduce the issue.
@jywarren what's the current status of this issue, are you still able to reproduce it? This is a very old issue and a button has changed to "Ask" instead of "Publish".