Ultima modifica:
Molti capita spesso che l'editor nelle discussioni si vede male come in foto
Ma c'è una semplice soluzione basta recarsi dal nostro FTP in jscripts/editor.js trova:
Sostituiamolo con questo codice:
Dopo andremo a trovare questa stringa:
E la andiamo a sostituire con questa:
Il risultato sarà questo.
Fonte: caygri (Forum esterno)
Ma c'è una semplice soluzione basta recarsi dal nostro FTP in jscripts/editor.js trova:
Codice:
/ Determine the overall height and width - messy, but works
w = oldTextarea.getDimensions().width+"px";
if(!w || parseInt(w) < 400)
{
w = "400px";
}
if(this.options && this.options.height)
{
h = this.options.height;
}
else if(oldTextarea.offsetHeight)
{
h = oldTextarea.offsetHeight+"px";
}
else if(oldTextarea.clientHeight)
{
h = oldTextarea.clientHeight+"px";
}
else if(oldTextarea.style.height)
{
h = oldTextarea.style.height;
}
else
{
h = "400px";
}
this.editor.style.width = w;
this.editor.style.height = h;
Codice:
// Determine the overall height and width - messy, but works
w = "550px";
h = "300px";
this.editor.style.width = w;
this.editor.style.height = h;
Codice:
textInput.style.height = parseInt(areaContainer.style.height)+"px";
textInput.style.width = parseInt(areaContainer.style.width)+"px";
Codice:
[textInput.style.height = "229px";
textInput.style.width = "544px";
Fonte: caygri (Forum esterno)