From 399e0ea71d469bb679e54b3d3b0a5632dfa80233 Mon Sep 17 00:00:00 2001 From: IMMACULATE X <58532-immaculate.x@users.noreply.drupalcode.org> Date: Fri, 17 Jan 2025 11:42:43 +0000 Subject: [PATCH 1/4] Update file editor.css --- core/modules/ckeditor5/css/editor.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/modules/ckeditor5/css/editor.css b/core/modules/ckeditor5/css/editor.css index bbc9a31b504f..8a5bfe5a83d0 100644 --- a/core/modules/ckeditor5/css/editor.css +++ b/core/modules/ckeditor5/css/editor.css @@ -29,3 +29,7 @@ .ck-toolbar__items .ck.ck-button.ck-on { border: 1px solid var(--ck-color-button-on-color); } + +.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline.ck-focused { + word-break: break-word !important; +} -- GitLab From 5fce2337fea25ba824e2c2d9386bf15446a1932c Mon Sep 17 00:00:00 2001 From: Brahim Khouy <brahim.khouy@gmail.com> Date: Thu, 20 Mar 2025 15:47:16 +0000 Subject: [PATCH 2/4] issue-3498723: handle all cases --- core/modules/ckeditor5/css/editor.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/modules/ckeditor5/css/editor.css b/core/modules/ckeditor5/css/editor.css index 8a5bfe5a83d0..1624e030bbea 100644 --- a/core/modules/ckeditor5/css/editor.css +++ b/core/modules/ckeditor5/css/editor.css @@ -30,6 +30,8 @@ border: 1px solid var(--ck-color-button-on-color); } -.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline.ck-focused { +.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline.ck-focused, +.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline.ck-blurred, +.ck-source-editing-area { word-break: break-word !important; } -- GitLab From d2b9f5393a2d6b0c36d58ccbe7ab754a7e48d0ec Mon Sep 17 00:00:00 2001 From: Brahim Khouy <brahim.khouy@gmail.com> Date: Wed, 26 Mar 2025 10:20:22 +0000 Subject: [PATCH 3/4] issue-3498723: use of less specific selectors --- core/modules/ckeditor5/css/editor.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/modules/ckeditor5/css/editor.css b/core/modules/ckeditor5/css/editor.css index 1624e030bbea..c122648d5c87 100644 --- a/core/modules/ckeditor5/css/editor.css +++ b/core/modules/ckeditor5/css/editor.css @@ -30,8 +30,6 @@ border: 1px solid var(--ck-color-button-on-color); } -.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline.ck-focused, -.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline.ck-blurred, -.ck-source-editing-area { +.ck-focused, .ck-blurred, .ck-source-editing-area { word-break: break-word !important; } -- GitLab From 7fd476effdbe72e41a6a284b5498a8addced1b54 Mon Sep 17 00:00:00 2001 From: Brahim Khouy <brahim.khouy@gmail.com> Date: Wed, 26 Mar 2025 10:34:02 +0000 Subject: [PATCH 4/4] issue-3498723: fix styleint warnings --- core/modules/ckeditor5/css/editor.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/modules/ckeditor5/css/editor.css b/core/modules/ckeditor5/css/editor.css index c122648d5c87..4a8d8cb32337 100644 --- a/core/modules/ckeditor5/css/editor.css +++ b/core/modules/ckeditor5/css/editor.css @@ -30,6 +30,8 @@ border: 1px solid var(--ck-color-button-on-color); } -.ck-focused, .ck-blurred, .ck-source-editing-area { +.ck-focused, +.ck-blurred, +.ck-source-editing-area { word-break: break-word !important; } -- GitLab