I just manage to add a custome TBText class so now i can add text fields as toolbar items
on fck_toolbal.js--------------------
// -----------------------------------------------------------------
// -- TBText class - Represents a toolbar text.
// -----------------------------------------------------------------
function TBText(name,label,onEditingAction,width)
{
this.name = name.toLowerCase() ;
this.label = label || name ;
this.width = width || 370 ;
this.Active = false ;
}
TBText.prototype.GetHTML = TBText_GetHTML ;
function TBText_GetHTML()
{
this.Active = true ;
var sHTML = this.label + '   ' + '<input value="rtr" maxlength="250" style="width: ' + this.width + 'px;" type="text" name="' + this.name +'">';
//alert(sHTML )
return sHTML;
}
on fck_toolbaritems.js-------------------------
TBI.prototype.Title_En = new TBText("Title_En" , lang["Title_En"] ) ;
But i cannot find a way to get the value of those text fields
on fck_toolbal.js--------------------
// -----------------------------------------------------------------
// -- TBText class - Represents a toolbar text.
// -----------------------------------------------------------------
function TBText(name,label,onEditingAction,width)
{
this.name = name.toLowerCase() ;
this.label = label || name ;
this.width = width || 370 ;
this.Active = false ;
}
TBText.prototype.GetHTML = TBText_GetHTML ;
function TBText_GetHTML()
{
this.Active = true ;
var sHTML = this.label + '   ' + '<input value="rtr" maxlength="250" style="width: ' + this.width + 'px;" type="text" name="' + this.name +'">';
//alert(sHTML )
return sHTML;
}
on fck_toolbaritems.js-------------------------
TBI.prototype.Title_En = new TBText("Title_En" , lang["Title_En"] ) ;
But i cannot find a way to get the value of those text fields