PHI-base / PHI5_web_display

PHI5_web_display will allow to display PHI-Canto data
1 stars 0 forks source link

Use Rich Text for homepage fields in Strapi #105

Closed jseager7 closed 7 months ago

jseager7 commented 1 year ago

The links in the Introduction and Spotlight sections are not configurable enough to be maintained by PHI-base in the long term.

In the case of the Introduction section, the URL link and text can be configured, but its position can't be. The current text implies that the link to PHI-base 4 will always appear at the end of the text.

image

The Spotlight section seems to have the link to PHI-base 4 hard-coded as well, except in this case neither the text nor the link can be edited.

image

It would be much better to use Rich Text as the field type for these fields instead of Text, so that links can be embedded directly in the sections. Most of the other pages editable with Strapi are already using Rich Text.

In summary: change the Introduction and Spotlight fields in Phibase-home to Rich Text, and remove the Url and UrlHeading fields (since they won't be needed if links can be added directly).

jseager7 commented 7 months ago

Both the Introduction (IntroRichtext) and the Spotlight sections are using rich text for editing in the latest Docker images.