hello,
i would like delete styles from pastes in my fckeditor.
In firefox it's good but in internet explorer is not working.
the code in my page is:
function FCKeditor_OnComplete( editorInstance )
{
editorInstance.Events.AttachEvent( 'OnPaste', cleanTexto ) ;
}
var counter = 0 ;
function cleanTexto( editorInstance )
{
editorInstance.Commands.GetCommand('PasteText').Execute();
}
In firefox no problem but in IE i think it can not understan this sentence : editorInstance.Commands.GetCommand('PasteText').Execute();
What is the problem in IE? I need help you
thanks for all
i would like delete styles from pastes in my fckeditor.
In firefox it's good but in internet explorer is not working.
the code in my page is:
function FCKeditor_OnComplete( editorInstance )
{
editorInstance.Events.AttachEvent( 'OnPaste', cleanTexto ) ;
}
var counter = 0 ;
function cleanTexto( editorInstance )
{
editorInstance.Commands.GetCommand('PasteText').Execute();
}
In firefox no problem but in IE i think it can not understan this sentence : editorInstance.Commands.GetCommand('PasteText').Execute();
What is the problem in IE? I need help you
thanks for all