Hi,
Can anybody tell me where the default table parameters are stored? I wish to change them from 200px width to 100%, 0 border etc etc.
Thanks
Paul
Can anybody tell me where the default table parameters are stored? I wish to change them from 200px width to 100%, 0 border etc etc.
Thanks
Paul
Re: Default table parameters
I found the solution to me problem, its in a file
fckeditor\editor\dialog\fck_table.html
it's not a set of variables, you have to work through the html, find the input tags and change the value parameter.
For example aroudn line 226:
It was
<tr>
<td>
<span fcklang="DlgTableWidth">Width</span>:
</td>
<td>
<input id="txtWidth" type="text" maxlength="4" size="3" value="200" name="txtWidth" onkeypress="return IsDigit(event);" />
</td>
<td>
<select id="selWidthType" name="selWidthType">
<option fcklang="DlgTableWidthPx" value="pixels" selected="selected">pixels</option>
<option fcklang="DlgTableWidthPc" value="percent"percent></option>
</select>
</td>
</tr>
and I now have:
<tr>
<td>
<span fcklang="DlgTableWidth">Width</span>:
</td>
<td>
<input id="txtWidth" type="text" maxlength="4" size="3" value="100" name="txtWidth" onkeypress="return IsDigit(event);" />
</td>
<td>
<select id="selWidthType" name="selWidthType">
<option fcklang="DlgTableWidthPx" value="pixels">pixels</option>
<option fcklang="DlgTableWidthPc" value="percent" selected="selected">percent</option>
</select>
</td>
</tr>
The other parameters are similarly set else where in the file.
Hope this helps somebody
paul.mac