Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [TinyMce] Zamienia ó na entities
Forum PHP.pl > Forum > Przedszkole
Agape
W TinyMCE zamienia mi ó na ó przez co nie mogę wysłać prawidłowo formularza z tiny. W edytorze wyświetla normalnie ale jak próbuje wysłać formularz, pobieram zawartość tiny
Kod
tinyMCE.get('p_opis').getContent()

i tam już jest zamiana ó

Próbowałem dać
Kod
entity_encoding : "raw",

ale nie pomaga. Nadal to samo.

Kod
    tinyMCE.init({
    
        // General options
        entity_encoding : "raw",
        mode : "exact",
        elements : "p_opis",
        theme : "advanced",
        language : "pl",
        auto_resize : true,
        plugins : "safari,style,table,advhr,advimage,advlink,inlinepopups,insertdatetime,previe
w,contextmenu,paste,directionality,fullscreen,noneditable,xhtmlxtras,template,wo
r
dcount",
    
        // Theme options
        theme_advanced_buttons1 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,f
ormatselect,fontselect,fontsizeselect",
        theme_advanced_buttons2 : "pastetext,pasteword,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,link,un
link,image,code,|,preview,|,forecolor,backcolor",
        theme_advanced_buttons3 : "tablecontrols,|,removeformat,|,sub,sup,|,charmap,|,fullscreen,template",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true,
        file_browser_callback : "tinyBrowser",
    
        // Example content CSS (should be your site CSS)
        content_css : "css/content.css",
    
        // Drop lists for link/image/media/template dialogs
        template_external_list_url : "lists/template_list.js",
        external_link_list_url : "lists/link_list.js",
        external_image_list_url : "lists/image_list.js",
        media_external_list_url : "lists/media_list.js",
        
    })


Macie pomysł jak to rozwiązać ?
blooregard
tinyMCE.init({
...
entity_encoding : "raw"
});

http://wiki.moxiecode.com/index.php/TinyMC...entity_encoding
Agape
Hm, dziwne jest z tym cachowaniem. Niby mam wyłązone a po dodaniu ww. kodu mi nie działało. Wyczyściłem cache sprawdzałem w innej przeglądarce i też nie działało. No i nagle się "namyśliło". No nic. Dzięki za zainteresowanie !
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.