promethee 1.2.30 → 1.2.31
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9a70ffb1f45b6678af9d367859340a1309668ea
|
4
|
+
data.tar.gz: cfc2d052e35851ced703473ee919d59a282d174b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9022e31d0450b34e060912409f4519654f2cb269a9873c6c0c3cf679c0265afb9d0ad4cfc569200dadde7c21a047b4bfafe36871b3c92e3e6afa999c77e2394e
|
7
|
+
data.tar.gz: 36da951c3fa84f269ee671509fb01aa3c2bb959c2c7f819dc1cf2501d49ba9efddf4e23827b4445c965dea4738d73628f7a44cc6df030b5b28123616cbf42076
|
@@ -4,11 +4,12 @@
|
|
4
4
|
callbacks: {
|
5
5
|
onPaste: function(event) {
|
6
6
|
// Remove text styles on paste
|
7
|
-
var
|
7
|
+
var paragraph = document.createElement('p');
|
8
|
+
paragraph.textContent = ((event.originalEvent || event).clipboardData || window.clipboardData).getData('Text').trim();
|
8
9
|
event.preventDefault();
|
10
|
+
|
9
11
|
setTimeout(function() {
|
10
|
-
document.execCommand('
|
11
|
-
document.execCommand('insertText', false, bufferText);
|
12
|
+
document.execCommand('insertNode', false, paragraph);
|
12
13
|
}, 10);
|
13
14
|
}
|
14
15
|
},
|