Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Table content is rendered differently in Chrome & Firefox #14386

Closed
illia-stv opened this issue Jun 14, 2023 · 2 comments · Fixed by #14379
Closed

Table content is rendered differently in Chrome & Firefox #14386

illia-stv opened this issue Jun 14, 2023 · 2 comments · Fixed by #14379
Labels
browser:firefox package:table type:bug This issue reports a buggy (incorrect) behavior.

Comments

@illia-stv
Copy link
Contributor

📝 Provide detailed reproduction steps (if any)

  1. use firefox
  2. go to https://ckeditor.com/docs/ckeditor5/latest/examples/builds/document-editor.html
  3. use cke5-inspector to set data
  4. paste in set editor data this content:
    <figure class="table" style="width:100%;"><table class="ck-table-resized"><colgroup><col style="width:4.57%;"><col style="width:4.56%;"><col style="width:4.56%;"><col style="width:39.11%;"><col style="width:47.2%;"></colgroup><tbody><tr><td>111111</td><td>222222</td><td style="width:400px;">999999</td><td>sample text</td><td>sample text</td></tr></tbody></table></figure>

✔️ Expected result

Screenshot 2023-06-14 at 13 17 40

❌ Actual result

Screenshot 2023-06-14 at 13 17 25

❓ Possible solution

Define overflow-wrap: breaking-word in table package.

📃 Other details

  • Browser: …
  • OS: …
  • First affected CKEditor version: …
  • Installed CKEditor plugins: …

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

@illia-stv illia-stv added type:bug This issue reports a buggy (incorrect) behavior. package:table browser:firefox labels Jun 14, 2023
@illia-stv
Copy link
Contributor Author

This issue is taken over by #14379

@Dumluregn
Copy link
Contributor

Let's wait with closing the issue until the PR gets merged 🙂

@Dumluregn Dumluregn reopened this Jun 14, 2023
Dumluregn added a commit that referenced this issue Jun 16, 2023
…df-text-goes-beyond-the-cell

Fix (table): Text will no longer go beyond its cell when columns are resized by resize handler in Firefox. Closes #14386.
Fix (export-pdf): Text will no longer go beyond its cell when columns are resized by resize handler in exported PDFs. Closes #3355.
@CKEditorBot CKEditorBot added this to the iteration 64 milestone Jun 16, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
browser:firefox package:table type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
3 participants