Opened 8 years ago

Closed 2 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 martinkou)

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:


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

Pixel and Percent



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:

Change History (5)

comment:1 Changed 8 years ago by martinkou

  • Description modified (diff)
  • Reporter changed from martinkou 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.


Moved from SF. Original poster: bngobngo

comment:2 Changed 8 years ago by martinkou

  • Type changed from Bug to New Feature

comment:3 Changed 8 years ago by w.olchawa

  • Keywords Confirmed added

comment:4 Changed 6 years ago by pomu0325

  • Cc pomu@… added

comment:5 Changed 2 years ago by j.swiderski

  • Resolution set to fixed
  • Status changed from confirmed to closed

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 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy