From 2db818a3c695c826192d2519e48be9ac635685eb Mon Sep 17 00:00:00 2001 From: i-just Date: Fri, 27 Feb 2026 08:07:48 +0100 Subject: [PATCH 1/2] fixes a type-o --- src/Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Field.php b/src/Field.php index 457a70de..da26babb 100644 --- a/src/Field.php +++ b/src/Field.php @@ -599,7 +599,7 @@ private function _inputHtml(mixed $value, ?ElementInterface $element = null, boo ]); if ($this->showWordCount) { - $html .= Html::tag('div', '&nbps;', [ + $html .= Html::tag('div', ' ', [ 'id' => $wordCountId, 'class' => ['ck-word-count', 'light', 'smalltext'], ]); From 3956aa0a4e4bf3d330b828db61f19a9423776d95 Mon Sep 17 00:00:00 2001 From: brandonkelly Date: Mon, 2 Mar 2026 09:48:55 -0800 Subject: [PATCH 2/2] Release note [ci skip] --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 217df646..96ae090d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release Notes for CKEditor for Craft CMS +## Unreleased + +- Fixed a bug where `&nbps;` briefly appeared below the editor on page load, if the “Show word count” setting was enabled. ([#507](https://github.com/craftcms/ckeditor/issues/507)) + ## 3.15.0 - 2025-11-19 - Statically-rendered CKEditor fields are now shown in read-only mode. ([#466](https://github.com/craftcms/ckeditor/pull/466))