context: FCK.Paste = function(){	// As we call ExecuteNamedCommand('Paste'), it would enter in a loop. So, let's use a semaphore.	if ( FCK._PasteIsRunning )		return true ;	if ( FCKConfig.ForcePasteAsPlainText )	{		FCK.PasteAsPlainText() ;			return false ;	}	var sHTML = FCK.GetClipboardHTML() ;	if ( FCKConfig.AutoDetectPasteFromWord && sHTML.length > 0 )	{		var re = /<\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi ;		if ( re.test( sHTML ) )		{			if ( confirm( FCKLang.PasteWordConfirm ) )			{				FCK.PasteFromWord() ;				return false ;			}		}	}	// Instead of inserting the retrieved HTML, let's leave the OS work for us	// and paste the content (return true); It could give better results.	// Also, let's always make a custom implementation (return false), otherwise 	// the new Keyboard Handler may conflict with this code, and the CTRL+V code	// could result in a simple "V" being pasted.	// Enable the semaphore to avoid a loop.	FCK._PasteIsRunning = true ;		FCK.ExecuteNamedCommand( 'Paste' ) ;		// Removes the semaphore.	delete FCK._PasteIsRunning  ;	// "false" means that we have a custom implementation.	return false ;}
meta: 8533	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8533/9e983f26dc3628701a539d2377aaa3db1e8f1f71/fck_ie.js/clean/library/src/webapp/editor/FCKeditor/editor/_source/internals/fck_ie.js