Reply #4 June 11, 2011 - 11:50 11:50
e visto a muchos con este problema pues yo por lo general solo uso parses e instalación manual ya que asi yo se que modifique el parse de esa mod es el siguiente:
en el GenericControls.template.php del theme default
Busca:
<select name="%selectName%" id="%selectId%" style="margin-bottom: 1ex; font-size: x-small;">
Reemplaza lo por:
<select name="%selectName%" id="%selectId%" style="margin-bottom: 1ex; font-size: x-small; height: 20px;">
y en el editor.js que se en cuentra el la carpeta scripts del theme dafult
Buscas:
for (var sSelectValue in oCurButton.oOptions)
// we've been through this before
if (sSelectValue != '')
sOptions += '<option value="' + sSelectValue.php_htmlspecialchars() + '">' + oCurButton.oOptions[sSelectValue].php_htmlspecialchars() + '</option>';
y lo remplazas por:
for (var sSelectValue in oCurButton.oOptions)
{
// we've been through this before
if (sSelectValue != '')
{
var optionStyle = '';
if (oCurButton.sName == 'sel_color')
optionStyle = 'style="color: ' + sSelectValue.php_htmlspecialchars() + ';"';
else if (oCurButton.sName == 'sel_size')
optionStyle = 'style="font-size: ' + oCurButton.oOptions[sSelectValue].php_htmlspecialchars() + ';"';
else if (oCurButton.sName == 'sel_face')
optionStyle = 'style="font-family: ' + sSelectValue.php_htmlspecialchars() + ';"';
sOptions += '<option value="' + sSelectValue.php_htmlspecialchars() + '" ' + optionStyle + '>' + oCurButton.oOptions[sSelectValue].php_htmlspecialchars() + '</option>';
}
}
Ami si me funcionan bien.