You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From discussions yesterday, it looks like the input for content currently allows either ReStructured Text (RST) or raw html with tags and all.
The only option for including images at this time is to link to an image hosted externally, which then introduces the risk that the external source may disappear, causing broken images in Django Project's content.
Some potential solutions are to use a new field. In any of these cases, a model change & migration, template changes, and a data migration from the current text (and html tag) content would be required, but the end result should be that content is much easier to customize, and images can be hosted on DjangoProject's infrastructure, rather than relying on external resources.
Use a StreamField, content editor, or similar
These offer some of the capabilities of Wagtail's StreamField in a lighter-weight package. Blocks of rich text and images can be included in the page.
The most feature-complete and updated package for markdown editing that also includes image uploads that integrate with django. I have used this package, and it is easy to set up and use.
Specifically:
Posts like Welcome our new Fellow - Sarah Boyce or DSF Board 2024 Elections – New board members 👋 would really benefit from imagery.
The text was updated successfully, but these errors were encountered: