Menu

#12 Cross-browser toggle table borders plugin

open
nobody
None
5
2005-08-28
2005-06-08
Brent Kelly
No

Provides the ability to show dotted outline of table
borders in both IE & firefox. Very useful for working
with tables that have no borders.

Download this patch from
http://sources.zeald.com/TableToggleBorders.tar.gz -
refer to the README.txt in the archive for installation
instructions.

Additionally, another improvement (IMO) to the way
FCKeditor handles tables is to initialise the widths of
columns when inserting a new table. This stops the
cells from moving about as the user enters content (can
be quote annoying for the user).

To do this, update editor/dialog/fck_table.html. Add
the following lines directly after line 128 which says:
var oCell = oRow.insertCell(-1) ;

if (!r) {
oCell.width = Math.round(100 /
iCols)+"%";
}

That will then default the column widths on the first
row of the table to be evenly distributed across the row.

Enjoy!

Brent Kelly,
Zeald.com
http://www.zeald.com

Discussion

  • Hubert Garrido

    Hubert Garrido - 2005-06-18

    Logged In: YES
    user_id=908768

    thanks a lot!!!

    I missed that feature so much. I tried to do that some time
    ago, but it was obviously not in my league :-/

    Now, if only it was possible to show invisible characters in
    a cross-browser way...

     
  • Oliver Siracusano

    Logged In: YES
    user_id=1322008

    there is something wrong in the readme.txt

    the readme sais : FCKConfig.Plugins.Add( 'ImageManager');

    wich should be changed into

    FCKConfig.Plugins.Add( 'TableToggleBorders');

     
  • Frederico Caldeira Knabben

    • labels: 508311 -->
    • milestone: 403778 -->
     

Log in to post a comment.

Monday.com Logo