mini.parse();
var t1 = mini.get("t1");
t1.on("blur", function (e) {
var value = e.sender.getInputText();
if (value) {
$("#d1").show();
$("#d1").text(value);
var height = $("#d1").height();
t1.setHeight(height);
$("#d1").hide();
t1.on("blur", function (e) {
var value = e.sender.getInputText();
if (value) {
var lenArr = value.split("\n");
alert(lenArr.length);
t1.setHeight(lenArr.length*22);
}
});