Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 5704)
+++ /CKEditor/trunk/CHANGES.html	(revision 5705)
@@ -53,4 +53,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/5580">#5580</a> : Maximize does not work properly in the Office 2003 and V2 skins.</li>  ble Cell.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/5843">#5843</a> : In CKEditor 3.3: When we set the focus in the 'instanceReady' event, FF3.6 is giving js error.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/5902">#5902</a> : paste and pastetext dialogs can not be skinned easily.</li>
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/plugins/clipboard/dialogs/paste.js
===================================================================
--- /CKEditor/trunk/_source/plugins/clipboard/dialogs/paste.js	(revision 5704)
+++ /CKEditor/trunk/_source/plugins/clipboard/dialogs/paste.js	(revision 5705)
@@ -77,4 +77,5 @@
 			var iframe = CKEDITOR.dom.element.createFromHtml(
 						'<iframe' +
+						' class="cke_pasteframe"' +
 						' frameborder="0" ' +
 						' allowTransparency="true"' +
@@ -104,11 +105,4 @@
 			}, this );
 
-			iframe.setStyles(
-				{
-					width : '346px',
-					height : '130px',
-					'background-color' : 'white',
-					border : '1px solid black'
-				} );
 			iframe.setCustomData( 'dialog', this );
 
Index: /CKEditor/trunk/_source/plugins/pastetext/dialogs/pastetext.js
===================================================================
--- /CKEditor/trunk/_source/plugins/pastetext/dialogs/pastetext.js	(revision 5704)
+++ /CKEditor/trunk/_source/plugins/pastetext/dialogs/pastetext.js	(revision 5705)
@@ -45,23 +45,15 @@
 							},
 							{
-								type : 'html',
+								type : 'textarea',
 								id : 'content',
-								style : 'width:340px;height:170px',
-								html :
-									'<textarea style="' +
-										'width:346px;' +
-										'height:170px;' +
-										'resize: none;' +
-										'direction:' + editor.config.contentsLangDirection + ';' +
-										'border:1px solid black;' +
-										'background-color:white">' +
-									'</textarea>',
+								className : 'cke_pastetext',
 
 								onLoad : function()
 								{
 									var label = this.getDialog().getContentElement( 'general', 'pasteMsg' ).getElement(),
-										input = this.getElement();
+										input = this.getElement().getElementsByTag( 'textarea' ).getItem( 0 );
 
 									input.setAttribute( 'aria-labelledby', label.$.id );
+									input.setStyle( 'direction', editor.config.contentsLangDirection );
 								},
 
Index: /CKEditor/trunk/_source/skins/kama/dialog.css
===================================================================
--- /CKEditor/trunk/_source/skins/kama/dialog.css	(revision 5704)
+++ /CKEditor/trunk/_source/skins/kama/dialog.css	(revision 5705)
@@ -729,4 +729,25 @@
 }
 
+.cke_skin_kama .cke_dialog .cke_pastetext
+{
+	width: 346px;
+	height: 170px;
+}
+
+.cke_skin_kama .cke_dialog .cke_pastetext textarea
+{
+	width: 340px;
+	height: 170px;
+	resize: none;
+}
+
+.cke_skin_kama .cke_dialog iframe.cke_pasteframe
+{
+	width: 346px;
+	height: 130px;
+	background-color: white;
+	border: 1px solid black;
+}
+
 .cke_skin_kama .cke_dialog .cke_dark_background
 {
Index: /CKEditor/trunk/_source/skins/office2003/dialog.css
===================================================================
--- /CKEditor/trunk/_source/skins/office2003/dialog.css	(revision 5704)
+++ /CKEditor/trunk/_source/skins/office2003/dialog.css	(revision 5705)
@@ -660,4 +660,25 @@
 }
 
+.cke_skin_office2003 .cke_dialog .cke_pastetext
+{
+	width: 346px;
+	height: 170px;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_pastetext textarea
+{
+	width: 340px;
+	height: 170px;
+	resize: none;
+}
+
+.cke_skin_office2003 .cke_dialog iframe.cke_pasteframe
+{
+	width: 346px;
+	height: 130px;
+	background-color: white;
+	border: 1px solid black;
+}
+
 .cke_skin_office2003 .cke_dialog .cke_dark_background
 {
Index: /CKEditor/trunk/_source/skins/v2/dialog.css
===================================================================
--- /CKEditor/trunk/_source/skins/v2/dialog.css	(revision 5704)
+++ /CKEditor/trunk/_source/skins/v2/dialog.css	(revision 5705)
@@ -662,4 +662,25 @@
 }
 
+.cke_skin_v2 .cke_dialog .cke_pastetext
+{
+	width: 346px;
+	height: 170px;
+}
+
+.cke_skin_v2 .cke_dialog .cke_pastetext textarea
+{
+	width: 340px;
+	height: 170px;
+	resize: none;
+}
+
+.cke_skin_v2 .cke_dialog iframe.cke_pasteframe
+{
+	width: 346px;
+	height: 130px;
+	background-color: white;
+	border: 1px solid black;
+}
+
 .cke_skin_v2 .cke_dialog .cke_dark_background
 {
