Ticket #3220: 3220.patch
File 3220.patch, 3.9 KB (added by , 15 years ago) |
---|
-
_source/includes/samplesprocessor.js
101 101 } 102 102 103 103 /** 104 * FIXME: #3220 105 * xml:space="preserve" is somehow being added to the script tag. 106 */ 107 var scripts = newDocument.getElementsByTagName( 'script' ); 108 for ( var i = 0 ; i < scripts.getLength() ; i++ ) 109 { 110 scripts.item( i ).removeAttribute( "xml:space" ); 111 } 112 113 /** 104 114 * FIXME: No matter how do we set the OutputKeys.METHOD in 105 115 * CKRELEASER.xml.saveXml there is always something wrong. Setting 106 116 * "text" removes all tags. Setting "html" adds uppercased Meta tag, -
test/_assets/samples/ajax.correct.txt
10 10 <!-- CKReleaser %REMOVE_LINE% 11 11 <script type="text/javascript" src="../ckeditor.js"></script> 12 12 CKReleaser %REMOVE_LINE% --> 13 <script src="../ckeditor_source.js" type="text/javascript" xml:space="preserve"></script> <!-- CKReleaser %REMOVE_LINE% -->13 <script src="../ckeditor_source.js" type="text/javascript"></script> <!-- CKReleaser %REMOVE_LINE% --> 14 14 <!-- 15 15 ## Uncomment this if loading the "basic" version. 16 16 … … 25 25 //]]> 26 26 </script> 27 27 --> 28 <script src="sample.js" type="text/javascript" xml:space="preserve"></script>28 <script src="sample.js" type="text/javascript"></script> 29 29 <link href="sample.css" rel="stylesheet" type="text/css"/> 30 31 30 <script id="headscript" type="text/javascript"> 32 31 //<![CDATA[ 33 32 … … 92 91 pages. --> 93 92 <fieldset title="Output"> 94 93 <legend>Output</legend> 95 96 94 <p> 97 95 <input onclick="createEditor();" type="button" value="Create Editor"/> 98 96 <input onclick="removeEditor();" type="button" value="Remove Editor"/> … … 103 101 <p>Edited Contents:</p> 104 102 <div id="editorcontents"/> 105 103 </div> 106 107 104 </fieldset> 108 105 <!-- This <fieldset> contains the output readable code that illustrates 109 106 how to use the editor, having the results shown in this sample. --> 110 107 <fieldset title="Code"> 111 108 <legend>Code</legend> 112 113 109 <pre/> 114 115 110 </fieldset> 116 111 <div id="footer"> 117 112 <hr/> -
test/_assets/samples/divreplace.correct.txt
10 10 <!-- CKReleaser %REMOVE_LINE% 11 11 <script type="text/javascript" src="../ckeditor.js"></script> 12 12 CKReleaser %REMOVE_LINE% --> 13 <script src="../ckeditor_source.js" type="text/javascript" xml:space="preserve"></script> <!-- CKReleaser %REMOVE_LINE% -->13 <script src="../ckeditor_source.js" type="text/javascript"></script> <!-- CKReleaser %REMOVE_LINE% --> 14 14 <!-- 15 15 ## Uncomment this if loading the "basic" version. 16 16 … … 25 25 //]]> 26 26 </script> 27 27 --> 28 <script src="sample.js" type="text/javascript" xml:space="preserve"></script>28 <script src="sample.js" type="text/javascript"></script> 29 29 <link href="sample.css" rel="stylesheet" type="text/css"/> 30 30 <style id="styles" type="text/css"> 31 31 … … 103 103 pages. --> 104 104 <fieldset title="Output"> 105 105 <legend>Output</legend> 106 107 106 <p> 108 107 Double-click on any of the following DIVs to transform them into editor instances.</p> 109 108 <div> … … 144 143 eu ipsum. Suspendisse auctor. Phasellus fermentum porttitor risus. 145 144 </p> 146 145 </div> 147 148 146 </fieldset> 149 147 <!-- This <fieldset> contains the output readable code that illustrates 150 148 how to use the editor, having the results shown in this sample. --> 151 149 <fieldset title="Code"> 152 150 <legend>Code</legend> 153 154 151 <pre/> 155 156 152 </fieldset> 157 153 <div id="footer"> 158 154 <hr/>