Modificare il file:
\FckEditor\editor\lang\_getfontformat.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </head> <script language="javascript"> window.onload = function() { var oRange = document.selection.createRange() ; var sNormal ; var sFormats = '' ; for ( var i = 1 ; i <= 9 ; i++ ) { oRange.moveToElementText( document.getElementById( 'x' + i ) ) ; sFormats += oRange.queryCommandValue( 'FormatBlock' ) ; if ( i == 1 ) sNormal = sFormats ; sFormats += ';' ; } document.getElementById('xFontFormats').innerHTML = sFormats + sNormal + ' (DIV)' ; } </script> <body> <table width="70%" align="center"> <tr> <td> <h3>FontFormats localizzazione</h3> <p> IE ha dei limiti quando si maneggia il "Font Format". Esso utilizza effettivamente localizzata corde per recuperare il valore attuale formato. Ciò rende molto difficile creare un sistema che funziona su ogni singolo computer in tutto il mondo. </p> <p> Con FCKeditor, questo problema influisce nel comando "Format" barra degli strumenti che non riflette il formato della posizione del cursore. </p> <p> C'è solo un modo per farlo funzionare. Dobbiamo localizzare FCKeditor utilizzando la stringhe utilizzata da IE. In questo modo, avremo il comportamento atteso almeno quando si usa FCKeditor nella stessa lingua del browser. Così, quando la localizzazione FCKeditor, andare in un computer con IE nella lingua di destinazione, aprire questa pagina e utilizzare la seguente stringa al valore "FontFormats": </p> <div style="white-space: nowrap"> FontFormats : "<span id="xFontFormats" style="COLOR: #000099"></span>", </div> </td> </tr> </table> <div style="DISPLAY: none"> <p id="x1"> </p> <pre id="x2"> </pre> <address id="x3"> </address> <h1 id="x4"> </h1> <h2 id="x5"> </h2> <h3 id="x6"> </h3> <h4 id="x7"> </h4> <h5 id="x8"> </h5> <h6 id="x9"> </h6> </div> </body> </html>
[
Íàçàä
]