I\'m using CKEditor5 for a comment form, and want to impose a character limit. My current implementation is to count the length of string given by editor.getData()
editor.getData()