﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5997	The resize only works the first time.	DiegoC		"Hi,
I'm using for example

{{{
    EditorTxt = CKEDITOR.appendTo(Contenedor, config, html);
    EditorTxt.config.resize_enabled = false;
}}}
the first time I show the editor, it works perfectly, but if I destroy() it and created again, the resize_enabled dosen't work.
But if I use
{{{
    EditorTxt = CKEDITOR.appendTo(Contenedor, config, html);
    CKEDITOR.config.resize_enabled = false;
}}}
it works perfectly.
The problem is that I'm using also this:

{{{
CKEDITOR.on('instanceReady', function (e) { CuadroDeTexto_Ajusta() });
function CuadroDeTexto_Ajusta() {
    var x = CKEDITOR.document.getById('cke_contents_' + EditorTxt.name);
    if (x != null) {
        var textEditor = ContenedorCuadroTexto.children().eq(0);
        CKEDITOR.config.height = textEditor.height() - 10;
        EditorTxt.resize(textEditor.width() - 12, CKEDITOR.config.height);
    }
}
}}}
And I don't know how to make this works because the first time it work but the second one, the EditorTxt.resize doesn't work.
Thanks
Diego"	Bug	closed	Normal		General	3.3.1	invalid		dcuadra@…
