Opened 17 years ago

Closed 11 years ago

#811 closed New Feature (fixed)

Optional way of controlling table/cell width

Reported by: bngobngo@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF Cc: pomu@…

Description (last modified by Martin Kou)

Hi again.

It would be nice if it was possible to control what options where visiblel in the table and cell width dropdown:

Today it is:

Pixel
Percent

I would like to control this in fckconfig.js and be able to control what options where visible to end-user.

Either:
Pixel and Percent

or:
Percent

or:
Pixel

NOTE: If I have only enabled the percent to be visible for the width dropdown of the table that should also apply for the width dropdown for the cell if I selected cell-properties, or eventually possible to control both dropdowns (table width and cell width) from fckeditior.js individually.

Keep up the good work


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1195110&group_id=75348&atid=543656

Change History (5)

comment:1 Changed 17 years ago by Martin Kou

Description: modified (diff)
Reporter: changed from Martin Kou to bngobngo@…

Forgot this: If I insert a table using width=100%

and after mark the table and drag the table marking horizontally then the width of table is set in pixels. If I only enabled percent in the width dropdown for table and cell I would also not want width in pixels to be inserted if I change table width with the mouse. If possible then insert width in percent relative to FCKeditor width or eventually disable changing the width using mouse, or any other way that insert width in pixels.

Urk...


Moved from SF. Original poster: bngobngo

comment:2 Changed 17 years ago by Martin Kou

Type: BugNew Feature

comment:3 Changed 17 years ago by Wojciech Olchawa

Keywords: Confirmed added

comment:4 Changed 15 years ago by pomu0325

Cc: pomu@… added

comment:5 Changed 11 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

This apprach was changed in CKEditor 3.6.x. Now users can enter their own value e.g. 100px or 100%. If user inserts only 100 then px will be used (unit dropdown was dropped).

NOTE: when you have table with width:100% and resize it using e.g. Firefox native resize handles then this width will be dropped by FF and pixels will be inserted instead. Ie on the other hand operates on %.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy