Ticket #957: 957_2.patch
File 957_2.patch, 2.0 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
145 145 the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead 146 146 of depreciated "var").</li> 147 147 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration: 148 removed closing tag: "? >", so no additional whitespace added when files are included.</li>148 removed closing tag: "?>", so no additional whitespace added when files are included.</li> 149 149 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file 150 150 browser: fixed problems with DetectHtml() function when open_basedir was set.</li> 151 151 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1871">#1871</a>] PHP file … … 177 177 settings.</li> 178 178 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links 179 179 to file browser has been changed to avoid requests containing double dots.</li> 180 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing Enter 181 or typing after a placeholder with the placeholder plugin will no longer generate 182 colored text.</li> 180 183 </ul> 181 184 <p> 182 185 <a href="_whatsnew_history.html">See previous versions history</a> -
editor/_source/internals/fck_gecko.js
104 104 105 105 // only perform the patched behavior if we're in an <a> tag, or the End key is pressed. 106 106 var parentTag = node.parentNode.tagName.toLowerCase() ; 107 if ( ! ( parentTag == 'a' || 107 if ( ! ( parentTag == 'a' || String(node.parentNode.contentEditable) == 'false' || 108 108 ( ! ( FCKListsLib.BlockElements[parentTag] || FCKListsLib.NonEmptyBlockElements[parentTag] ) 109 109 && keyCode == 35 ) ) ) 110 110 return ;