If forcePasteAsPlainText paste (ctrl + v) doesn't work properly in webkit env
|Reported by:||aorduno||Owned by:|
I'm working with forcePasteAsPlainText = true and when i paste something using ctrl + v in webkit env (chrome, safari...) and wysiwyg mode i got the same text repeated several times. I checked in the code and i found each time you use the function setData ( e.g. editor.setData('aorduno') ) in wysiwyg plugin you will recreate the iframe. So, for each time i recreate the iframe i got the text pasted once.
If i use two times editor.setData('myData') i recreate the iframe two times and then if i want to paste 'aorduno' using (ctrl + v) i got 'aordunoaorduno' as result. This is working alright in other browsers (ff, ie, opera) the only browsers i got this repeated text pasted are from webkit.