You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really weird problem, and it's only been happening to me for a relatively short while now. First, I'm using jsbeautifier.org from Firefox 40 on Ubuntu Linux, and have been doing so for a long time (obviously with earlier versions of Firefox in the past). I have Firebug installed, but I'm pretty sure this doesn't have anything to do with Firebug as it happens whether it's enabled or not.
I very often use jsbeautifier.org to reformat horribly-formatted JavaScript from Stackoverflow questions. What I started noticing about 2 weeks ago was that I could copy-paste from Stackoverflow into the beautifier CodeMirror box and get correctly-formatted code. However, when I tried to copy-paste back to Stackoverflow, I'd get just a "-" in my clipboard. That would be the case wherever I attempted to paste, so I'm pretty sure that the browser was only putting a single character into the clipboard. Some tests revealed that so long as I selected exactly 1000 characters or less in the CodeMirror view, it would work - I could copy-paste out of jsbeautifier.org into anywhere successfully. However, 1001 or more characters (and it doesn't seem to matter what characters are involved), and it doesn't work.
Using the "plain textarea" version of jsbeautifier.org, everything does work just fine, and I can copy-paste arbitrary amounts of text out of the textarea.
The text was updated successfully, but these errors were encountered:
Because the version of CodeMirror used with the jsbeautifier web UI is apparently outdated, the CodeMirror crew closed that other issue. A maintainer did however exhibit suspicion that CodeMirror might be at least part of the problem.
This is a really weird problem, and it's only been happening to me for a relatively short while now. First, I'm using jsbeautifier.org from Firefox 40 on Ubuntu Linux, and have been doing so for a long time (obviously with earlier versions of Firefox in the past). I have Firebug installed, but I'm pretty sure this doesn't have anything to do with Firebug as it happens whether it's enabled or not.
I very often use jsbeautifier.org to reformat horribly-formatted JavaScript from Stackoverflow questions. What I started noticing about 2 weeks ago was that I could copy-paste from Stackoverflow into the beautifier CodeMirror box and get correctly-formatted code. However, when I tried to copy-paste back to Stackoverflow, I'd get just a "-" in my clipboard. That would be the case wherever I attempted to paste, so I'm pretty sure that the browser was only putting a single character into the clipboard. Some tests revealed that so long as I selected exactly 1000 characters or less in the CodeMirror view, it would work - I could copy-paste out of jsbeautifier.org into anywhere successfully. However, 1001 or more characters (and it doesn't seem to matter what characters are involved), and it doesn't work.
Using the "plain textarea" version of jsbeautifier.org, everything does work just fine, and I can copy-paste arbitrary amounts of text out of the textarea.
The text was updated successfully, but these errors were encountered: