Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [TinyMCE]Problem z zwracaniem htmlu
qba10
post
Post #1





Grupa: Zarejestrowani
Postów: 264
Pomógł: 20
Dołączył: 19.08.2007
Skąd: Bryńsk k. Lidzbarka Welskiego (nie mylić z Warmińskim)

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


Witam
Mam problem z TinyMCE.
Edytor nie zwraca mi htmlu tylko sam tekst.
Oto moj plik konfiguracyjny:
  1. <script type="text/javascript">
  2. tinyMCE.init({
  3. // General options
  4. mode : "textareas",
  5. theme : "advanced",
  6. plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,ies
  7. ell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,pa
  8. te,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,temp
  9. ate",
  10. language : "pl",
  11. convert_fonts_to_spans : true,
  12. editor_selector : "Editor",
  13.  
  14.  
  15.  
  16.  
  17.  
  18. // Theme options
  19. theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justif
  20. center,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizesele
  21. t",
  22. theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,out
  23. ent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|
  24. insertdate,inserttime,preview,|,forecolor,backcolor",
  25. theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iesp
  26. ll,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
  27. theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acro
  28. ym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
  29. theme_advanced_toolbar_location : "top",
  30. theme_advanced_toolbar_align : "left",
  31. theme_advanced_statusbar_location : "bottom",
  32. theme_advanced_resizing : true,
  33.  
  34.  
  35.  
  36. // Drop lists for link/image/media/template dialogs
  37. template_external_list_url : "lists/template_list.js",
  38. external_link_list_url : "lists/link_list.js",
  39. external_image_list_url : "lists/image_list.js",
  40. media_external_list_url : "lists/media_list.js",
  41.  
  42. // Replace values for the template plugin
  43. template_replace_values : {
  44. username : "Some User",
  45. staffid : "991234"
  46. }
  47. });


Odświeżam temat.
Czy wam TinyMCE odrazu zwraca tekst z html'em czy trzeba cos w swoim configu zmienic? Bo szukałem na google i nic nie znalazlem.....
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 15.09.2025 - 05:18