0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
LB Johnston
a19bae886d Format markdown files 2023-08-31 08:21:36 +10:00
Matt Westcott
151a386ff5 Add note to clarify that blocks are not interchangeable with model fields
Prompted by https://stackoverflow.com/questions/76973112/unknown-fields-specified-for-a-page-model-in-wagtail-at-content-panels/76973226?noredirect=1#comment135693718_76973226 and similar misconceptions people have made in the past.
2023-08-30 18:47:57 +01:00
Sage Abdullah
64f496a2e1 Remove old versionadded / versionchanged notes 2023-07-19 17:53:26 +10:00
Ramon Wenger
2ca09bdc37 Add documentation for using a StructBlock inside of a StreamField
Fixes #10231
2023-04-24 14:52:45 +01:00
Thibaud Colas
d856e702e1 Update documentation on icons management, with available icons 2023-03-28 16:13:35 +01:00
Matt Westcott
a07fe20ceb Add documentation for customising StreamField validation 2023-03-01 12:07:13 +01:00
Matt Westcott
d5f787030a Update docs for use_json_field
Indicate that this must now be set to True.
2023-02-10 13:20:34 +00:00
Matt Westcott
18a574b520 Remove old versionadded / versionchanged directives from docs 2023-02-08 14:25:09 +00:00
Joshua Munn
e84cdc4e2c Add wagtail-streamfield-migration-toolkit docs
- Move RichText -> StreamField migration guide into
  advanced/streamfield_migrations.md
2022-12-09 16:40:07 +00:00
Matt Westcott
2cb12871ef Fix RichTextField - StreamField migration example code
Follow-up to #8307. It appears that the original code was designed for a StreamField setup where the `rich_text` block is not a RichTextBlock, but a StructBlock with a RichTextBlock child also named `rich_text`. #8307 correctly removed this redundant wrapper from page_to_streamfield, but there are corresponding changes required for the rest of the helper methods.
2022-12-08 07:39:37 +10:00
Jeremy Thompson
4613fa2562 Fix RichTextField to StreamField example migration 2022-11-20 22:06:24 +10:00
Albina Starykova
032f521bbf Documentation - Improve grammar, spelling, and punctuation 2022-10-25 17:14:58 +10:00
Thibaud Colas
eac5e0bc2c Finish re-implementing form styles based on design feedback & code review
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
tijani
8cdb3f3a60 Added blocks_by_name, first_block_by_name methods to StreamValue
- A shortcut for accessing StreamField blocks by name
2022-07-20 17:13:20 +10:00
LB Johnston
86cb09a534 Documentation - fix streamfield reference issue
- myst was building a doc link `streamfield` and also had a ref link `streamfield` which was causing conflicts
2022-06-30 09:57:26 +10:00
Sævar Öfjörð Magnússon
a316408928 convert the docs/topics/** from RST to Markdown
Relates to #8383

* Convert the image tag topic to Markdown
* Convert the permissions usage to Markdown
* Convert the topic of snippets to Markdown
* Convert the streamfield topic to markdown
* Convert the writing templates doc to Markdown
2022-06-23 08:12:07 +10:00