0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 17:13:31 +01:00
wagtail/docs/reference/contrib/legacy_richtext.md
LB Johnston e140c41a89 documentation - markdown formatting
- apply general fixes to existing markdown documentation
- various cases of rst syntax still used
- update some links to be the new format
- clean up line breaks (prettier)
2022-06-25 22:44:42 +10:00

410 B

Legacy richtext


Provides the legacy richtext wrapper.

Place wagtail.contrib.legacy.richtext before wagtail in INSTALLED_APPS.

INSTALLED_APPS = [
    ...
    "wagtail.contrib.legacy.richtext",
    "wagtail",
    ...
]

The {{ page.body|richtext }} template filter will now render:

<div class="rich-text">...</div>