prussianblue-cms / project-template

Start here! This is the main repository of PrussianBlue. The code in this repo includes everything to get started with PrussianBlue
0 stars 0 forks source link

Implement the PB basic paragraphs and their fields #5

Closed noelrivasc closed 1 year ago

noelrivasc commented 1 year ago

The purpose of paragraph modules is just to provide the entity configurations with their fields so that editors can have a place to create paragraphs. Paragraph modules are not concerned with the style or behavior of the rendered entities; that's the domain of the theme.

The minimum set of paragraphs are:

The extended set should include:

Notes on structure:

noelrivasc commented 1 year ago

In the end, I threw the requirements to isolate fields and paragraphs in their own modules out the window. It seemed too convoluted and unnecessary.

All the base fields and paragraphs live in the same module, which is called pb_base_paragraphs. Enable it and you get all the basics.

I see no use case for getting a single field or paragraph in the context of PB.

The isolation, however, may apply to paragraphs for other modules such as the Resource Center.