From ba769f9986df77316626b057402189af67fe10c0 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Fri, 23 Feb 2024 16:16:18 +0000 Subject: [PATCH] feat(endpoint-posts): show character and word count on content field --- packages/endpoint-posts/includes/post-fields/content.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/endpoint-posts/includes/post-fields/content.njk b/packages/endpoint-posts/includes/post-fields/content.njk index c3518036a..7bc0fcb4b 100644 --- a/packages/endpoint-posts/includes/post-fields/content.njk +++ b/packages/endpoint-posts/includes/post-fields/content.njk @@ -1,4 +1,4 @@ -{{ textarea({ +{{ characterCount({ name: "content", value: properties.content.text or fieldData("content").value, label: __("posts.form.content.label"),