Fix typo in preview blocks documentation

pull/12987/head
Sébastien Corbin 2025-03-24 10:01:52 +01:00 zatwierdzone przez GitHub
rodzic d3341e8fa7
commit 6a7917697c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
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.",
))
```