Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 13
  1. #1
    Utente di HTML.it
    Registrato dal
    Jun 2003
    Messaggi
    4,826

    fckeditor e title problemi ie6

    ciao.
    ho dei problemi con fckeditor:
    se setto1,h2,h3 ecc...)guarda qua':http://giuseppe500.emptypage.it/cms/Contenuti.php?id=23 , e premi edita su qualcosa , poi metti i title,me li mantiene!!,solo con ie6,con ff è tutto ok.
    Grazie.



    questo è il fckconfig.js:
    /*
    * FCKeditor - The text editor for internet
    * Copyright (C) 2003-2005 Frederico Caldeira Knabben
    *
    * Licensed under the terms of the GNU Lesser General Public License:
    * http://www.opensource.org/licenses/lgpl-license.php
    *
    * For further information visit:
    * http://www.fckeditor.net/
    *
    * "Support Open Source software. What about a donation today?"
    *
    * File Name: fckconfig.js
    * Editor configuration settings.
    * See the documentation for more info.
    *
    * File Authors:
    * Frederico Caldeira Knabben (fredck@fckeditor.net)
    */

    FCKConfig.CustomConfigurationsPath = '' ;

    FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;

    FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' ;

    FCKConfig.BaseHref = '' ;

    FCKConfig.FullPage = false ;

    FCKConfig.Debug = false ;
    FCKConfig.AllowQueryStringDebug = true ;

    FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;

    FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;

    // FCKConfig.Plugins.Add( 'placeholder', 'de,en,fr,it,pl' ) ;

    FCKConfig.ProtectedSource.Add( /<script[\s\S]*?\/script>/gi ) ; // <SCRIPT> tags.
    // FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%>
    // FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code <?...?>
    // FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control>

    FCKConfig.AutoDetectLanguage = true ;
    FCKConfig.DefaultLanguage = 'en' ;
    FCKConfig.ContentLangDirection = 'ltr' ;

    FCKConfig.EnableXHTML = true ; // Unsupported: Do not change.
    FCKConfig.EnableSourceXHTML = true ; // Unsupported: Do not change.

    FCKConfig.ProcessHTMLEntities = true ;
    FCKConfig.IncludeLatinEntities = true ;
    FCKConfig.IncludeGreekEntities = true ;

    FCKConfig.FillEmptyBlocks = true ;

    FCKConfig.FormatSource = true ;
    FCKConfig.FormatOutput = true ;
    FCKConfig.FormatIndentator = '
    ' ;

    FCKConfig.ForceStrongEm = true ;
    FCKConfig.GeckoUseSPAN = true ;
    FCKConfig.StartupFocus = false ;
    FCKConfig.ForcePasteAsPlainText = false ;
    FCKConfig.AutoDetectPasteFromWord = true ; // IE only.
    FCKConfig.ForceSimpleAmpersand = false ;
    FCKConfig.TabSpaces = 0 ;
    FCKConfig.ShowBorders = true ;
    FCKConfig.UseBROnCarriageReturn = true ; // IE only.
    FCKConfig.ToolbarStartExpanded = true ;
    FCKConfig.ToolbarCanCollapse = true ;
    FCKConfig.IEForceVScroll = false ;
    FCKConfig.IgnoreEmptyParagraphValue = true ;
    FCKConfig.PreserveSessionOnFileBrowser = false ;
    FCKConfig.FloatingPanelsZIndex = 10000 ;

    FCKConfig.ToolbarSets["Default"] = [
    ['Source','Link','Unlink','Anchor'],'/',
    ['Image','Flash','Table'],'/',
    ['FontFormat'],'/',
    ['FontName'],'/',['FontSize'],'/',
    ['TextColor','BGColor'],'/',
    ['Bold','Italic','Underline'],
    ['About']
    ] ;

    FCKConfig.ToolbarSets["Basic"] = [
    ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
    ] ;

    FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select' ,'Textarea','Checkbox','Radio','TextField','Hidden Field','ImageButton','Button','BulletedList','Numb eredList','TableCell','Table','Form'] ;

    FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399, 333333,800000,FF6600,808000,808080,008080,0000FF,6 66699,808080,FF0000,FF9900,99CC00,339966,33CCCC,33 66FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00F FFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFF CC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;

    FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
    FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
    FCKConfig.FontFormats = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;

    FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
    FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ;

    FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages'
    FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/rel/ieSpellSetup211325.exe' ;

    FCKConfig.MaxUndoLevels = 15 ;

    FCKConfig.DisableImageHandles = false ;
    FCKConfig.DisableTableHandles = false ;

    FCKConfig.LinkDlgHideTarget = false ;
    FCKConfig.LinkDlgHideAdvanced = false ;

    FCKConfig.ImageDlgHideLink = false ;
    FCKConfig.ImageDlgHideAdvanced = false ;

    FCKConfig.FlashDlgHideAdvanced = false ;

    FCKConfig.LinkBrowser = true ;
    FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp' ;
    //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/' ;
    // ASP.Net // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx' ;
    // ColdFusion // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/cfm/connector.cfm' ;
    // Perl // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/perl/connector.cgi' ;
    FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
    // PHP - mcpuk // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Connector=connectors/php/connector.php' ;
    FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70%
    FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;// 70%

    FCKConfig.ImageBrowser = true ;
    FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp' ;
    // ASP.Net // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx' ;
    // ColdFusion // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/cfm/connector.cfm' ;
    // Perl // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/perl/connector.cgi' ;
    FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
    // PHP - mcpuk // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
    FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ;
    FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ;

    FCKConfig.FlashBrowser = true ;
    FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/asp/connector.asp' ;
    // ASP.Net // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/aspx/connector.aspx' ;
    // ColdFusion // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/cfm/connector.cfm' ;
    // Perl // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/perl/connector.cgi'
    FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
    // PHP - mcpuk // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
    FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ;
    FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ;

    FCKConfig.LinkUpload = true ;
    //FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp' ;
    FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ;
    FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all
    FCKConfig.LinkUploadDeniedExtensions = ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|p l|bat|exe|dll|reg|cgi)$" ; // empty for no one

    FCKConfig.ImageUpload = true ;
    //FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Image' ;
    FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ;
    FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png)$" ; // empty for all
    FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one

    FCKConfig.FlashUpload = true ;
    //FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/asp/upload.asp?Type=Flash' ;
    FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Flash' ;
    FCKConfig.FlashUploadAllowedExtensions = ".(swf|fla)$" ; // empty for all
    FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one

    FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ;
    FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gi f','teeth_smile.gif','confused_smile.gif','tounge_ smile.gif','embaressed_smile.gif','omg_smile.gif', 'whatchutalkingabout_smile.gif','angry_smile.gif', 'angel_smile.gif','shades_smile.gif','devil_smile. gif','cry_smile.gif','lightbulb.gif','thumbs_down. gif','thumbs_up.gif','heart.gif','broken_heart.gif ','kiss.gif','envelope.gif'] ;
    FCKConfig.SmileyColumns = 8 ;
    FCKConfig.SmileyWindowWidth = 320 ;
    FCKConfig.SmileyWindowHeight = 240 ;

    if( window.console ) window.console.log( 'Config is loaded!' ) ; // @Packager.Compactor.RemoveLine

  2. #2
    Utente di HTML.it
    Registrato dal
    Jun 2003
    Messaggi
    4,826
    up

  3. #3
    Utente di HTML.it
    Registrato dal
    Aug 2002
    Messaggi
    8,013
    Non riesco a capire il problema che dici di avere:

    Clicko su edita, scrivo Hello, lo seleziono e lo metto a titolo1. Salvo. Edito di nuovo, lo trovo a titolo1, lo metto a titolo2, salvo e tutto mi pare funzionare alla perfezione....
    <´¯)(¯`¤._)(¯`»ANDREA«´¯)(_.¤´¯)(¯`>
    "The answer to your question is: welcome to tomorrow"

  4. #4
    Utente di HTML.it
    Registrato dal
    Jun 2003
    Messaggi
    4,826
    prova a mettere 3 o 4 righe e a associare ad ogni riga un title diverso , oppure seleziona ,metti a titolo1 poi premi return , a me mantiene titolo1 e se scrivo qualcosa mi rimane il titolo1

  5. #5
    Utente di HTML.it
    Registrato dal
    Aug 2002
    Messaggi
    8,013
    penso sia dovuto al fatto che con invio tu aggiunga un
    invece che un blocco

    </p>. non so quale sia il settaggio per la funzione specifica: l'esempio online che hanno al sito www.fckeditor.net però ha questo comportamento (

    invece di
    ) e la formattazione funziona bene lì

    EDIT:
    Anzi, secondo me questa è da modificare:
    FCKConfig.UseBROnCarriageReturn = true ; // IE only.

    Prova a false
    <´¯)(¯`¤._)(¯`»ANDREA«´¯)(_.¤´¯)(¯`>
    "The answer to your question is: welcome to tomorrow"

  6. #6
    Utente di HTML.it
    Registrato dal
    Jun 2003
    Messaggi
    4,826
    grazie,un passo avanti , adesso mi prende le formattazioni,solo che mi salta una riga quando premo enter cosa che non succede sul sito.
    Non capisco .
    E' possibile vedere l'fckconfig dell' editor nella pagina di prova?

  7. #7
    Utente di HTML.it
    Registrato dal
    Jun 2003
    Messaggi
    4,826
    mi mette quel cavolo di

    che nel sito di fckeditor non mi mette!!

  8. #8
    Utente di HTML.it
    Registrato dal
    Jun 2003
    Messaggi
    4,826
    no , anzi ,Andrea1979 nell'esempio in linea lo mette il

    !!!!!!!!!! per andare a capo.
    piuttosto , che il problema non sia un altro:
    io lo faccio apparire disapparire come vedi dal codice con:
    function designModeOn(id){
    var editor = FCKeditorAPI.GetInstance('editor'+id);
    editor.EditorDocument.designMode = "on";
    }

    function hide(id){
    document.getElementById('edit'+id).style.display = 'none';
    }

    function show(id){document.getElementById('edit'+id).style. display = 'block';
    }

    function doShow(id){
    show(id);
    hide(id);
    show(id);
    var browser = navigator.appName;
    var ie = "Microsoft Internet Explorer";
    if (browser != ie) {
    designModeOn(id);}
    }
    che possa essere questo?

  9. #9
    Utente di HTML.it
    Registrato dal
    Aug 2002
    Messaggi
    8,013
    Boh... non credo sia quello... comunque, perché carichi tre editors? Non potresti usare un template? Se guardi gli esempio sempre di cui alla home page, c'è la funzione "Modelli" (il pulsante è accanto a quello di anteprima). Ad ogni modo, qui trovi il loro file di configurazione:

    http://www.fckeditor.net/fckeditor/fckconfig.js

    magari prova a vedere quali eventuali differenze (non dettate da specifica esigenza) ci siano con il tuo.
    <´¯)(¯`¤._)(¯`»ANDREA«´¯)(_.¤´¯)(¯`>
    "The answer to your question is: welcome to tomorrow"

  10. #10
    Utente di HTML.it
    Registrato dal
    Jun 2003
    Messaggi
    4,826
    con ff va tutto , ie 6 da da i suoi soliti casini.
    Non riesco a capire , se setto FCKConfig.UseBROnCarriageReturn = true ; // IE only.
    non mi salta la riga ma da dei casini il formato (title h1,h2,h3 ecc...)

    se metto
    FCKConfig.UseBROnCarriageReturn = false ;
    funziona tutto correttamete per i formati ma mi salta una riga ad ogni enter.
    Eppure l'ho scaricata pari pari e messa in un altra directory e ho testato i suoi esempi,ho anche provato a mettere l'fckconfig.js che mi hai inviato ma non funzia,a te funziona?
    dannato ie.
    Grazie

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.