You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/10/19 16:20:49 UTC

[GitHub] micheleriva removed a comment on issue #871: Copied & pasted string with newlines should show JSON syntax error in Ace editors

micheleriva removed a comment on issue #871: Copied & pasted string with newlines should show JSON syntax error in Ace editors
URL: https://github.com/apache/couchdb-fauxton/issues/871#issuecomment-431402486
 
 
   Ok thanks for the quick response. I am investigating but it seems that Ace editors creates a new `div` for each pasted line of code, so it is really difficult to detect that kind of behavior.
   One ugly solution would be to add an [onpaste](https://www.w3schools.com/jsref/event_onpaste.asp) event and then detect any `\n`, `\t` etc, but I personally don't like that kind of approach.
   If you think that some more investigation is worth the time, I can keep on. But if you think that it is better to wait until Ace will be updated, I can stop here 😊

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services