I saw the option to format pasted HTML for MS word:
http://docs.fckeditor.net/FCKeditor_2.x ... sStructure
Is there anything similar for standard paste, say from another browser window?
I want to apply regular expressions on the pasted HTML before it gets into the editor. Currently I can only do that for word.
Is it possible to use OnPaste event for that?
Tue, 07/01/2008 - 01:26#1
Re: Formatting paste
Paste happens in the browser or in a dialog (after canceling the event). So the only way to change the HTML is in a dialog.
Paste is controlled by _ExecPaste. There is no direct extension point to change the HTML, but it is possible by changing the method. In that case the changes have to be coded both in the method (for direct paste) and the dialogs.
Is this correct?