[JavaScript] TinyMCE läuft nicht auf Localhost

Dieses Thema im Forum "Webentwicklung" wurde erstellt von theQuest, 3. Juni 2007 .

  1. 3. Juni 2007
    TinyMCE läuft nicht auf Localhost

    Hallo,

    ich hab nen dickes Problem. Es geht um TinyMCE. Bei mir auf dem Localhost ist es so, das es manchmal läuft, und manchmal wieder nicht. Ich kann aber noch nicht erkennen, was der Grund dafür ist.

    Hat jemand schon ähnliche Probleme gehabt?
     
  2. 3. Juni 2007
    AW: TinyMCE läuft nicht auf Localhost

    Es kann verschiedene Gründe geben:

    1) Der Player ist nicht richtig eingebunden (u.a. auch fehlerhafte Config)
    2) Cache Problem deines Browsers

    Versuche erstmal Cookies und Cache zu löschen, dann Seite neu laden.
    Wenn das nicht hilft, dann überprüf nochmal, ob du Tiny richtig eingebunden hast.

    Greets

    Blade II
     
  3. 3. Juni 2007
    AW: TinyMCE läuft nicht auf Localhost

    TinyMCE ist kein Player

    Ja, die Angaben sind alle richtig. Am Cache liegt es auch nicht. Es funktioniert, wenn es funktioniert, in allen Browsern, wenn es nicht geht, gehts in keinem!
     
  4. 4. Juni 2007
    AW: TinyMCE läuft nicht auf Localhost

    Ohne uns zu zeigen wie du den Editor einbindest, kann dir auch niemand helfen.
     
  5. 16. Juni 2007
    AW: TinyMCE läuft nicht auf Localhost

    Eingebunden wird er via:
    Code:
    <!-- TinyMCE -->
    <script language="javascript" type="text/javascript" src="./html/javascript/tiny_mce/tiny_mce.js"></script>
    <script language="javascript" type="text/javascript">
     tinyMCE.init({
     mode : "textareas",
     theme : "advanced",
     plugins : "devkit,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
     theme_advanced_buttons1_add_before : "save,newdocument,separator",
     theme_advanced_buttons1_add : "fontselect,fontsizeselect",
     theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
     theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
     theme_advanced_buttons3_add_before : "tablecontrols,separator",
     theme_advanced_buttons3_add : "emotions,iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
     theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,|,code",
     theme_advanced_toolbar_location : "top",
     theme_advanced_toolbar_align : "left",
     theme_advanced_path_location : "bottom",
     content_css : "example_full.css",
     plugin_insertdate_dateFormat : "%Y-%m-%d",
     plugin_insertdate_timeFormat : "%H:%M:%S",
     extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
     external_link_list_url : "example_link_list.js",
     external_image_list_url : "example_image_list.js",
     flash_external_list_url : "example_flash_list.js",
     media_external_list_url : "example_media_list.js",
     template_external_list_url : "example_template_list.js",
     file_browser_callback : "fileBrowserCallBack",
     theme_advanced_resize_horizontal : false,
     theme_advanced_resizing : true,
     nonbreaking_force_tab : true,
     apply_source_formatting : true,
     template_replace_values : {
     username : "Jack Black",
     staffid : "991234"
     }
     });
    
     function fileBrowserCallBack(field_name, url, type, win) {
     // This is where you insert your custom filebrowser logic
     alert("Example of filebrowser callback: field_name: " + field_name + ", url: " + url + ", type: " + type);
    
     // Insert new URL, this would normaly be done in a popup
     win.document.forms[0].elements[field_name].value = "someurl.htm";
     }
    </script>
    <!-- /TinyMCE -->
    Der Path ist richtig.
     
  6. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.