public/ckeditor/_source/plugins/clipboard/plugin.js
function( event )
	{
		if ( this.mode != 'wysiwyg' )
			return;

		switch ( event.data.keyCode )
		{
			// Paste
			case CKEDITOR.CTRL + 86 :		// CTRL+V
			case CKEDITOR.SHIFT + 45 :		// SHIFT+INS

				var body = this.document.getBody();

				// Simulate 'beforepaste' event for all none-IEs.
				if ( !CKEDITOR.env.ie && body.fire( 'beforepaste' ) )
					event.cancel();
				// Simulate 'paste' event for Opera/Firefox2.
				else if ( CKEDITOR.env.opera
						 || CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
					body.fire( 'paste' );
				return;

			// Cut
			case CKEDITOR.CTRL + 88 :		// CTRL+X
			case CKEDITOR.SHIFT + 46 :		// SHIFT+DEL

				// Save Undo snapshot.
				var editor = this;
				this.fire( 'saveSnapshot' );		// Save before paste
				setTimeout( function()
					{
						editor.fire( 'saveSnapshot' );		// Save after paste
					}, 0 );
		}
	}
function( event )
	{
		if ( this.mode != 'wysiwyg' )
			return;

		switch ( event.data.keyCode )
		{
			// Paste
			case CKEDITOR.CTRL + 86 :		// CTRL+V
			case CKEDITOR.SHIFT + 45 :		// SHIFT+INS

				var body = this.document.getBody();

				// Simulate 'beforepaste' event for all none-IEs.
				if ( !CKEDITOR.env.ie && body.fire( 'beforepaste' ) )
					event.cancel();
				// Simulate 'paste' event for Opera/Firefox2.
				else if ( CKEDITOR.env.opera
						 || CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
					body.fire( 'paste' );
				return;

			// Cut
			case CKEDITOR.CTRL + 88 :		// CTRL+X
			case CKEDITOR.SHIFT + 46 :		// SHIFT+DEL

				// Save Undo snapshot.
				var editor = this;
				this.fire( 'saveSnapshot' );		// Save before paste
				setTimeout( function()
					{
						editor.fire( 'saveSnapshot' );		// Save after paste
					}, 0 );
		}
	}
function ( event ) { if ( this . mode != 'wysiwyg' ) return ; switch ( event . data . keyCode ) { // Paste
 case CKEDITOR . CTRL + 86 : // CTRL+V
 case CKEDITOR . SHIFT + 45 : // SHIFT+INS
 var body = this . document . getBody ( ) ; // Simulate 'beforepaste' event for all none-IEs.
 if ( ! CKEDITOR . env . ie && body . fire ( 'beforepaste' ) ) event . cancel ( ) ; // Simulate 'paste' event for Opera/Firefox2.
 else if ( CKEDITOR . env . opera || CKEDITOR . env . gecko && CKEDITOR . env . version < 10900 ) body . fire ( 'paste' ) ; return ; // Cut
 case CKEDITOR . CTRL + 88 : // CTRL+X
 case CKEDITOR . SHIFT + 46 : // SHIFT+DEL
 // Save Undo snapshot.
 var editor = this ; this . fire ( 'saveSnapshot' ) ; // Save before paste
 setTimeout ( function ( ) { editor . fire ( 'saveSnapshot' ) ; // Save after paste
 } , 0 ) ; } }
Listens for some clipboard related keystrokes, so they get customized.
Listens for some clipboard related keystrokes so they get customized .