Ticket #811 (closed New Feature: fixed)

Opened 7 years ago

Last modified 10 months ago

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) (diff)

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

comment:1 Changed 7 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.

Urk...


Moved from SF. Original poster: bngobngo

comment:2 Changed 7 years ago by martinkou

  • Type changed from Bug to New Feature

comment:3 Changed 6 years ago by w.olchawa

  • Keywords Confirmed added

comment:4 Changed 5 years ago by pomu0325

  • Cc pomu@… added

comment:5 Changed 10 months ago by j.swiderski

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

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