Index: /FCKeditor/branches/versions/2.4.x/_dev/browserbugs/safari/nbsp_removeformat.html
===================================================================
--- /FCKeditor/branches/versions/2.4.x/_dev/browserbugs/safari/nbsp_removeformat.html	(revision 376)
+++ /FCKeditor/branches/versions/2.4.x/_dev/browserbugs/safari/nbsp_removeformat.html	(revision 376)
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head>
+    <title>nbsp and removeFormat</title>
+    <script type="text/javascript">
+
+window.onload = function()
+{
+	document.designMode = 'on' ;
+	
+	var original = escape(document.body.innerHTML) ;
+
+	document.execCommand( 'SelectAll', false, null ) ;
+
+	document.execCommand( 'RemoveFormat', false, null ) ;
+	
+	alert( 'Escaped contents\nOriginal: \n\t' +  original + '\nAfter removeformat: \n\t' + escape(document.body.innerHTML) ) ;
+}
+
+	</script>
+
+</head>
+<body>Some text</body>
+</html>
Index: /FCKeditor/branches/versions/2.4.x/_dev/browserbugs/safari/paste.html
===================================================================
--- /FCKeditor/branches/versions/2.4.x/_dev/browserbugs/safari/paste.html	(revision 376)
+++ /FCKeditor/branches/versions/2.4.x/_dev/browserbugs/safari/paste.html	(revision 376)
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>Safari Bug TC</title>
+	<script type="text/javascript">
+
+window.onload = function()
+{
+	document.designMode = 'on' ;
+	document.body.contentEditable = true ;
+
+	alert( document.queryCommandEnabled( 'Paste' ) ) ;
+}
+
+
+	</script>
+</head>
+<body>
+	<p>
+		If you have data in the clipboard, an alert with "<strong>true</strong>" should be displayed.</p>
+</body>
+</html>
Index: /FCKeditor/branches/versions/2.4.x/editor/_source/classes/fckpanel.js
===================================================================
--- /FCKeditor/branches/versions/2.4.x/editor/_source/classes/fckpanel.js	(revision 375)
+++ /FCKeditor/branches/versions/2.4.x/editor/_source/classes/fckpanel.js	(revision 376)
@@ -61,7 +61,12 @@
 		oDocument = this.Document = oIFrameWindow.document ;
 
+		// Workaround for Safari 12256. Ticket #63
+		var sBase = '' ;
+		if ( FCKBrowserInfo.IsSafari )
+			sBase = '<base href="' + window.document.location + '">' ;
+
 		// Initialize the IFRAME document body.
 		oDocument.open() ;
-		oDocument.write( '<html><head></head><body style="margin:0px;padding:0px;"><\/body><\/html>' ) ;
+		oDocument.write( '<html><head>' + sBase + '<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>' ) ;
 		oDocument.close() ;
 
