Want your toolbar items to float and wrap if the browser/editor instance size is changed? Try:
in fckeditor.html - from body tag to object tag:
<P style="margin-bottom: 0px" unselectable="on" id="divToolbar"></P>
<table height="100%" cellspacing="0" cellpadding="0" width="100%">
<tr id="trEditor"><td>
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
<tr height="100%"><td>
then in, js/fck_toolbar.js - replace TBToolbar_GetHTML function (or comment original out and add):
function TBToolbar_GetHTML()
{
var sHTML = '';
var oBand ;
for (iBand = 0 ; iBand < this.Bands.Array.length ; iBand++)
{
oBand = this.Bands.Array[iBand]
for (iItem = 0 ; iItem < oBand.Items.Array.length ; iItem++)
{
sHTML += oBand.Items.Array[iItem].GetHTML();
}
}
return sHTML ;
}
As far as I know, they're are no known knock on effects. Hope this is useful.
in fckeditor.html - from body tag to object tag:
<P style="margin-bottom: 0px" unselectable="on" id="divToolbar"></P>
<table height="100%" cellspacing="0" cellpadding="0" width="100%">
<tr id="trEditor"><td>
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
<tr height="100%"><td>
then in, js/fck_toolbar.js - replace TBToolbar_GetHTML function (or comment original out and add):
function TBToolbar_GetHTML()
{
var sHTML = '';
var oBand ;
for (iBand = 0 ; iBand < this.Bands.Array.length ; iBand++)
{
oBand = this.Bands.Array[iBand]
for (iItem = 0 ; iItem < oBand.Items.Array.length ; iItem++)
{
sHTML += oBand.Items.Array[iItem].GetHTML();
}
}
return sHTML ;
}
As far as I know, they're are no known knock on effects. Hope this is useful.