Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/10/2010, 13:17
Avatar de xalupeao
xalupeao
 
Fecha de Ingreso: mayo-2008
Ubicación: Santiago, Chile
Mensajes: 749
Antigüedad: 16 años
Puntos: 12
Problema con tinyMCE

Bueno amigos tengo tinyMCE en un sitio el cual lo estoy usando para hacer cuerpos html para enviar por mail.

resulta que pongo.

Código HTML:
Ver original
  1. <img src="www.misitio.tld/campanas//eliminar.gif" border="0" alt="" width="333" height="21" /></a>

pero despues vuelvo a ver el codigo y queda

Código HTML:
Ver original
  1. <img src="../campanas//eliminar.gif" border="0" alt="" width="333" height="21" /></a>

este es codigo que estoy usando para crear el tinyMCE.

Código Javascript:
Ver original
  1. <script type="text/javascript">
  2.  
  3.     // O2k7 skin
  4.     tinyMCE.init({
  5.         // General options
  6.         mode : "exact",
  7.         elements : "html",
  8.         theme : "advanced",
  9.         skin : "o2k7",
  10.         plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
  11.  
  12.         // Theme options
  13.         theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
  14.         theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
  15.         theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
  16.         theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
  17.         theme_advanced_toolbar_location : "top",
  18.         theme_advanced_toolbar_align : "left",
  19.         theme_advanced_statusbar_location : "bottom",
  20.         theme_advanced_resizing : true,
  21.  
  22.         // Example content CSS (should be your site CSS)
  23.         content_css : "css/content.css",
  24.  
  25.         // Drop lists for link/image/media/template dialogs
  26.         template_external_list_url : "lists/template_list.js",
  27.         external_link_list_url : "lists/link_list.js",
  28.         external_image_list_url : "lists/image_list.js",
  29.         media_external_list_url : "lists/media_list.js",
  30.  
  31.         // Replace values for the template plugin
  32.         template_replace_values : {
  33.             username : "Some User",
  34.             staffid : "991234"
  35.         }
  36.     });
__________________
Hosting en Chile en Silverhost - La solución en Hosting en Chile.