Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [TinyMce] Zamienia ó na entities, entity_encoding : raw nie pomaga ;/
Agape
post
Post #1





Grupa: Zarejestrowani
Postów: 384
Pomógł: 13
Dołączył: 16.06.2006

Ostrzeżenie: (0%)
-----


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ć ?

Ten post edytował Agape 7.04.2010, 12:00:46


--------------------
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 11:33