Fix typo in preview blocks documentation

stable/6.4.x
Sébastien Corbin 2025-03-24 10:01:52 +01:00 zatwierdzone przez Sage Abdullah
rodzic 4a46644b7b
commit 4eca7c8395
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -534,9 +534,9 @@ You can do so by [passing the keyword arguments](block_preview_arguments) `previ
("text", blocks.TextBlock()),
("source", blocks.CharBlock()),
],
preview_value={"text": "This is the coolest CMS ever.", "source": "Willie Wagtail"}
preview_value={"text": "This is the coolest CMS ever.", "source": "Willie Wagtail"},
preview_template="myapp/previews/blocks/quote.html",
description="A quote with attribution to the source, rendered as a blockquote."
description="A quote with attribution to the source, rendered as a blockquote.",
))
```