You are not logged in.
Pages: 1
I'm trying to resize the editor using the config options for width and height in the init function, like so:
var config = new Xinha.Config();
config.width = "400px";
config.height = "200px";
editeur = Xinha.makeEditors(['textAreaID'], config);
Xinha.startEditors(editeur);
I noticed that I can pretty much set any size I want, however, I can't go below a certain size for the height.
Is there a fixed minimum size for it somewhere?
I even tried with the sizeEditor function and got the same results.
Thanks in advance.
Offline
Anyone?
Offline
I dont' recall if Xinha itself sets a minimum but the browser might.
If Xinha does, you'll find it in XinhaCore.js I expect in the method which sizes the editors (going from memory, oddly enough called _sizeEditor)
James Sleeman
Offline
Pages: 1