editor: allow paste into links (#3802)

This commit is contained in:
John McLear 2020-10-24 16:59:03 +01:00 committed by GitHub
parent 36aceb3aba
commit cb5fcbb74e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4794,7 +4794,7 @@ function Ace2Inner(){
// Control C and Control V -- the Event is never available
// here.. :(
if(e.target.a || e.target.localName === "a"){
e.preventDefault();
// e.preventDefault(); // Disabled due to https://github.com/ether/etherpad-lite/issues/2775
}
// Call paste hook