Opened 11 years ago

Last modified 11 years ago

#9478 closed Bug

Undefined table width gets reset to default — at Version 5

Reported by: Joel Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: 4.0
Keywords: Cc:

Description (last modified by Jakub Ś)

To reproduce:

  1. Clear editor contents with CRTL+A Backspace
  2. Insert default table
  3. Open table properties dialog, clear width value and click OK
  4. Open table properties one more time.

Result: Default table width 500px is present in width field and once you click OK table gets default width.

Reproducible in CKEditor 4 in all browsers. Works fine in CKEditor 3.6.5

Change History (3)

comment:2 Changed 11 years ago by Joel

Apparently this requires a specific configuration to work. I could not reproduce in demo, but I was able to reproduce (IE9 & Chrome) in the V4 demo at http://nightly-v4.ckeditor.com/3694/samples/fullpage.html

  1. Empty the entire CKE contents (ctrl-a, delete)
  2. Add a table without changing the default values (3 rows, 2 cols, 500 width, etc)
  3. Enter some foobar data into the table
  4. Rightclick table and select properties
  5. Notice that the width is at 500px - remvoe that value, so that the width input field doesn't contain anything
  6. Click ok
  7. Notice that the table got smaller to fit your foobar data as expected.
  8. Rightclick the table and select properties again
  9. Notice that the width field contains "500". Change for example the border width to 10. without touching the width and click ok
  10. Notice that the table width changed to 500px even though you didn't change it

Another way on the same page

  1. Clear the entire contents of the editor
  2. Add a table but this time put for example 5 rows, 5 cols, 5 border and clear the width value so that the width input is completely empty and click ok
  3. Add some Foobar data
  4. Rightclick the table, select properties
  5. Notice that the width field says "500". Without touching the width field, change the border to 10 and click ok
  6. Notice that the width of the table changed without you changing it

comment:4 Changed 11 years ago by Jakub Ś

Component: GeneralUI : Dialogs
Description: modified (diff)
Status: newconfirmed
Summary: Undefined table width gets reset to default if changing other settings.Undefined table width gets reset to default
Version: 3.6.44.0 (GitHub - master)

comment:5 Changed 11 years ago by Jakub Ś

Description: modified (diff)
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