Hi,
I am using version 2.3
Whenever I paste some text into fck, it pastes the text twice. That is, one ctrl+v, results in two pastes into the fck text box.
I am using IE 6.0.29
Note: this behavior doesn't happen when I try it on the demo at, http://www.fckeditor.net/demo. It only happens on my installation.
I was using the previous version of fck and I don't remember it happening with that one. Any ideas?
I have the following in myconfig.js:
FCKConfig.AutoDetectPasteFromWord = false;
FCKConfig.ForcePasteAsPlainText = true;
Thanks!
Tue, 11/28/2006 - 12:24
#1
RE: pastes the text twice...bug?
Except I'm using:
FCKConfig.AutoDetectPasteFromWord = true;
FCKConfig.ForcePasteAsPlainText = false;
RE: pastes the text twice...bug?
I reverted back to the original fckconfig.js and still no joy.
Any one else have an idea?
RE: pastes the text twice...bug?
FCKeditorAPI.GetInstance('MEDesc').SetHTML('this is my text', true);
This apparently resets something and causes a paste to double....so, use this instead to prefill the editor:
FCKeditorAPI.GetInstance('MEDesc').EditorDocument.body.innerHTML = 'this is my text';
And now when I paste some text, it only pastes it once.