From 8f34e47b68f3996c50ad7d256d673516cda2d117 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 20 Jul 2022 12:13:06 +0100 Subject: [PATCH] Note that paragraph / line breaks are not counted toward the limit --- docs/reference/streamfield/blocks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/streamfield/blocks.md b/docs/reference/streamfield/blocks.md index 6fe66cac5a..c5b05519ff 100644 --- a/docs/reference/streamfield/blocks.md +++ b/docs/reference/streamfield/blocks.md @@ -205,7 +205,7 @@ All block definitions accept the following optional keyword arguments: :param editor: The rich text editor to be used (see :ref:`WAGTAILADMIN_RICH_TEXT_EDITORS`). :param features: Specifies the set of features allowed (see :ref:`rich_text_features`). :param required: If true (the default), the field cannot be left blank. - :param max_length: The maximum allowed length of the field. Only text is counted; rich text formatting and embedded content does not count towards the limit. + :param max_length: The maximum allowed length of the field. Only text is counted; rich text formatting, embedded content and paragraph / line breaks do not count towards the limit. :param help_text: Help text to display alongside the field. :param validators: A list of validation functions for the field (see `Django Validators `__). :param form_classname: A value to add to the form field's ``class`` attribute when rendered on the page editing form.