1
0
Fork 0
polaris-task-force/src/app/(payload)
Z8MB1E 34c0d5681f fix(rich-text): render full lexical formatting incl. colours across all fields
RichText authored in the admin panel was rendered as plain text on the
public site: headings/lists/quotes were flattened by Tailwind preflight
(no @tailwindcss/typography installed), and Payload's default JSX
converter ignored text colours.

- src/lib/lexical: shared editor factory (ptfLexicalEditor) + shared
  colour palette (textState) + colour converter (richTextConverters)
- RichTextView: canonical .lexical-content renderer (colour-aware),
  swapped into every frontend render site
- All rich-text editors route through the factory, so every field
  inherits the coloured editor (incl. the previously-unedited ones)
- .lexical-content CSS extended with checklist/table/heading rules,
  wrapped in @layer components so per-page utilities still override;
  dropped the now-dead per-page prose hacks
- Remove the now-dead briefingConverters in favour of the shared
  converter; add tests/int/rich-text-view.int.spec.ts
2026-11-18 13:10:26 -05:00
..
admin fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
api style(app): format app routes, pages, and server actions 2026-08-16 23:27:51 -04:00
custom.scss feat(npc-dialogue): flow editor UX pass for authoring dialogue flows 2026-10-06 13:44:01 -04:00
layout.tsx feat: initial payload scaffolding 2025-10-24 02:07:13 -04:00