ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.52k stars 3.7k forks source link

Changing a cell width/height with % is not possible by default #8469

Open neongreen opened 3 years ago

neongreen commented 3 years ago

📝 Provide detailed reproduction steps (if any)

  1. Go to https://ckeditor.com/ckeditor-5/demo/ in iOS Safari
  2. Create a table with three columns and two rows
  3. Write something in the first row
  4. Set the first cell's width to 80%

✔️ Expected result

The whole column is resized

❌ Actual result

Nothing happens

📃 Other details


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Mgsy commented 3 years ago

Hi, thanks for the report. This behaviour doesn't occur only on iOS, however, it's caused by the fact that the whole table should have dimensions represented in px. After changing it, you should be able to resize your cells with %.

It's quite counter-intuitive behaviour, so I'm leaving it open as a UX issue.

CKEditorBot commented 1 year ago

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

neongreen commented 11 months ago

Still an issue in v40.

karodamanoj commented 9 months ago

can i set default value fro table height and width ?

Witoso commented 8 months ago

@karodamanoj as this doc explains, you need to tweak the stylesheets as well as pass those to the editor's config.

karodamanoj commented 8 months ago

,I want to prefilled width 100 % On table properties

On Wed, 7 Feb 2024, 2:28 pm Witek Socha, @.***> wrote:

@karodamanoj https://github.com/karodamanoj as this doc explains https://ckeditor.com/docs/ckeditor5/latest/features/tables/tables-styling.html#default-table-and-table-cell-styles, you need to tweak the stylesheets as well as pass those to the editor's config.

— Reply to this email directly, view it on GitHub https://github.com/ckeditor/ckeditor5/issues/8469#issuecomment-1931566397, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMX3TQTJ4QC5BHLYA6IY3ADYSM65HAVCNFSM4TYYI6A2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTGE2TMNRTHE3Q . You are receiving this because you were mentioned.Message ID: @.***>