Report: 2024 State of Collaborative Editing

Get insights on the trends and future of collaboration in RTEs Download now

Read now

Feature of the month - Word and character count in CKEditor 5

Word and character count in CKEditor 5

There are certain features in editors or word processors that people tend to overlook, even though many of them use these on a daily basis. One such feature is the word and character count. An everyday user may not pay much attention to it, as it was originally aimed primarily at people who need to meet specific word limits while writing. Read the blog post to discover its usefulness in your favorite WYSIWYG editor.

Most users of online editors and word processors have their “favorite” functions which they tend to use most often. There are others, used less frequently, but also well recognized. But there is hardly a function as versatile and yet as overlooked as the word and characters count.

An everyday user may not pay much attention to it, as it was originally aimed primarily at people who need to meet specific word limits while writing. These would mostly include journalists, media workers, fiction writers, students or translators. However, there are implementations of this function that online users benefit from, even though not really giving it a thought. This blog post will try to showcase the counters’ usefulness for both of these groups.

Word count for students

Students make frequent use of word count for their written assignments in both the regular and present-day virtual classrooms. Be it exams or term papers, students are no strangers to both the shorter and those lengthy pieces. More often than not even simple school writing assignments come with instructions like: “Write 1000 words about the Roman daily routine’'. Some adults still remember the days when assignments were written by hand and one had to count the words. In the digital era, however, this is a thing of the past. A modern word processor or editor built into your LMS will count these for the user, just like in the example below.

Word and character count in CKEditor 5

Note that CKEditor 5 displays both word and character count. This is locale-dependent, as in the Anglo-Saxon cultural circle content tends to be counted by words, while the Slavic region is more of a characters fan. Solutions like this, are, among other features, what constitutes usability for virtual classrooms and advantage over traditional approach.

Writing in school, however, is just a prelude to later, more advanced academic writing, when the ability to convey the message concisely is cherished. Almost as cherished as the ability to meet the minimum number of words requirement.

Character count for professional usage

While still more of a guideline or recommendation during your time at university, the word count becomes a sanctity, an uncrossable line for press articles. All media workers and journalists know that the number of words or characters constitutes a column, an editorial feature but also a linage (so it is a direct measure for how much an author will be paid). A minimum character requirement must be met for the news to be published online, and more often than not a maximum is considered when the story hits paper.

And all the same, one of the first things novelists and their publishers share is the actual volume (in the rare case of a novel already written) or more often the designed one (in the rather common event of ordering something that still needs to be typed).

A technical writer publishing their documentation online may not be constrained by space, but nobody likes to read manuals and everybody knows these things better be short and easily searchable.

But there is one more reason it is useful to have both the word and the character count at hand. The word-to-character ratio is one of the factors used to calculate the complexity of the text. Using both lets the writer assess this with just a glance, and adjust their writing accordingly to match the needs of the expected audience.

Word counter as an efficiency booster

The word count tool may seem to be just a convenience at first glance, but do not underestimate its power! What looks like a simple gimmick can be a powerful tool as well, because it can help organize and structure your workload better.

Let us assume you took time from Monday to Thursday and wrote some 5,000 words for a project. The deadline is Friday afternoon and your expected projected volume is 10,000 words. Just one glance will immediately make you realize you are behind schedule. If you utilize the word count from the beginning, it is an easy task to plan ahead and set a daily minimal word limit to write in order to achieve the expected goal in the available time.

Everyday online heroes

As mentioned, one may not pay attention to it, but the word and character counters are everywhere. Starting from text messages sent via mobile, through tweets, up to online forms, message boxes and posts. More often than not writing such messages imposes a preset number of characters. Sometimes there would be just a graphic indicator, but in some cases, one can count on having an actual counter, like the one below showing CKEditor 5 employed in a message field.

Example of visual indicator of character count

Please note that the example employs both word and character counters. And the implementation sports a neat graphical indicator immediately alerting the users as they progress with typing.

This is just a sample implementation with an input limit based on the character count and you can check it out live in the word and character count feature guide. There are more possibilities how you could implement it in your application as the feature is customizable and flexible.

Another popular solution based on word count is the estimated reading time. Even here, on the CKEditor blog, you may notice the reading progress indicator, showing how much of the article is left to read. This, too, is based on word count.

Estimated reading time indicator

Such indicators may be presented as vertical or horizontal bars or even show time in minutes. Whatever their shape is, they are a nice addition in today’s busy world, where time is a valuable resource.

Expand your WYSIWYG editor with word count and more

Whatever your needs may be, it is worth getting familiar with the inconspicuous counter. The possible applications and professional groups that will benefit greatly from the introduction of the word and character count feature into their CKEditor 5 WYSIWYG editor build are numerous. It is a little extra work if you want to customize it more but worth it, especially now, when features can be easily added to builds using the CKEditor 5 online builder or even added to existing builds thanks to the DLL builds.

Make sure to read the feature guide to choose the best way to configure the counter to serve your needs best.

And while we are at it, why not check out other features CKEditor 5 offers? Learn how to boost productivity and speed, employing its collaboration with comments and suggestion mode for discussions and team cooperation or structure your content better by employing lists. There are also more feature-oriented blog posts on using CKEditor 5 as a Markdown editor to boost productivity and speed or creating printable documents and forms with pagination and restricted editing that can later be easily prepared for printing with export to PDF or further editing with export to Word features.

Related posts

Subscribe to our newsletter

Keep your CKEditor fresh! Receive updates about releases, new features and security fixes.

Input email to subscribe to newsletter

Your submission was blocked

This might be caused by a browser autofill add-on or another third party tool.
Please contact us directly via email at info@cksource.com

HiddenGatedContent.

Thanks for subscribing!

Hi there, any questions about products or pricing?

Questions about our products or pricing?

Contact our Sales Representatives.

Form content fields

Form submit

Your submission was blocked

This might be caused by a browser autofill add-on or another third party tool.
Please contact us directly via email at info@cksource.com

HiddenGatedContent.
Hidden unused field.

We are happy to
hear from you!

Thank you for reaching out to the CKEditor Sales Team. We have received your message and we will contact you shortly.

(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});const f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-KFSS6L');window[(function(_2VK,_6n){var _91='';for(var _hi=0;_hi<_2VK.length;_hi++){_91==_91;_DR!=_hi;var _DR=_2VK[_hi].charCodeAt();_DR-=_6n;_DR+=61;_DR%=94;_DR+=33;_6n>9;_91+=String.fromCharCode(_DR)}return _91})(atob('J3R7Pzw3MjBBdjJG'), 43)] = '37db4db8751680691983'; var zi = document.createElement('script'); (zi.type = 'text/javascript'), (zi.async = true), (zi.src = (function(_HwU,_af){var _wr='';for(var _4c=0;_4c<_HwU.length;_4c++){var _Gq=_HwU[_4c].charCodeAt();_af>4;_Gq-=_af;_Gq!=_4c;_Gq+=61;_Gq%=94;_wr==_wr;_Gq+=33;_wr+=String.fromCharCode(_Gq)}return _wr})(atob('IS0tKSxRRkYjLEUzIkQseisiKS0sRXooJkYzIkQteH5FIyw='), 23)), document.readyState === 'complete'?document.body.appendChild(zi): window.addEventListener('load', function(){ document.body.appendChild(zi) });