Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/06/2013, 15:07
josepbidegain
 
Fecha de Ingreso: enero-2013
Ubicación: Montevideo
Mensajes: 28
Antigüedad: 11 años, 9 meses
Puntos: 1
Respuesta: Django - resize textfield input model

Pude solucionar ingresando en textarea.js las propiedades:
width
height


Código Javascript:
Ver original
  1. tinyMCE.init({
  2.         mode : "textareas",
  3.         theme : "advanced",
  4.         //content_css : "/appmedia/blog/style.css",
  5.         theme_advanced_toolbar_location : "top",
  6.         theme_advanced_toolbar_align : "left",
  7.         theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,bullist,numlist,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,separator,image,media,cleanup,separator,code,fullscreen,separator,preview",
  8.         theme_advanced_resizing : true,
  9.         //theme_advanced_buttons1 : "bold,italic,underline,separator,bullist,numlist,link,unlink,separator,fontsizeselect,separator,forecolor,backcolor",
  10.         theme_advanced_buttons2 : "",
  11.         theme_advanced_buttons3 : "",
  12.         auto_cleanup_word : true,
  13.         //plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu,fullscreen",
  14.         plugin_insertdate_dateFormat : "%m/%d/%Y",
  15.         plugin_insertdate_timeFormat : "%H:%M:%S",
  16.         extended_valid_elements : "a[name|href|target=_blank|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
  17.         fullscreen_settings : {
  18.                 theme_advanced_path_location : "top",
  19.                 theme_advanced_buttons1 : "fullscreen,separator,preview,separator,cut,copy,paste,separator,undo,redo,separator,search,replace,separator,code,separator,cleanup,separator,bold,italic,underline,strikethrough,separator,forecolor,backcolor,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,help",
  20.                 theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,separator,bullist,numlist,outdent,indent,separator,link,unlink,anchor",
  21.                 theme_advanced_buttons3 : "sub,sup,separator,image,insertdate,inserttime,separator,tablecontrols,separator,hr,advhr,visualaid,separator,charmap,emotions,iespell,flash,separator,print",
  22.                 theme_advanced_resizing : true,
  23.         },
  24.         width: '700',
  25.         height: '400'
  26. });

al menos pude agrandar, lo que no hace es el resize automatico. por mas que haya puesto

Código Javascript:
Ver original
  1. theme_advanced_resizing : true,