
Problem Statement
As a Pelcro admin, I am limited when configuring paywall messaging because paywall titles and subtitles only support plain text. This prevents me from adding contextual links (e.g. Terms of Service, Privacy Policy, or help resources) directly within Pelcro-powered Meter and Regular Paywalls, forcing custom frontend work or external workarounds.

User Story
As a Pelcro admin, I want to add links to the titles and subtitles of Meter and Regular Paywalls using Preline's rich text editor during product configuration, so that I can include contextual links and clearer messaging without writing syntax or requiring custom frontend development.
Admin platform (UI)
Upgrade the paywall config UI to use Preline templates.
Given a product paywall configuration (Meter or Regular Paywall), when an admin edits title or subtitle fields, they are presented with Preline's Rich Text editor.
The Rich Text Editor:
Supports anchor links only (insert/edit/remove link).
Does not support images, headings, lists, blockquotes, inline HTML, scripts, styles, or any other formatting options.
Prevents entry of unsupported formatting via UI controls (no free-form HTML or Markdown input).
Admins can add links through a visual interaction (e.g., select text β add link), without typing syntax.
API
Paywall configuration API endpoints are updated to:
Accept and return rich text content for supported fields (title, subtitle).
Store content in a structured or HTML-safe format suitable for rendering.
Input is validated and sanitized server-side to ensure:
Only anchor links and plain text are persisted.
No unsafe markup, scripts, or layout-breaking content can be stored.
Existing text-only configurations remain fully backward compatible and continue to render correctly without modification.
(Pelcro Default UI & JS SDK)
Meter and Regular Paywalls correctly render:
Plain text titles/subtitles
Titles/subtitles containing anchor links
Rendering behavior is consistent across:
Pelcro Default UI
Pelcro React Elements
JS SDK consumers
Scope & Constraints
This change impacts UI, API, and SDK.
Supported formatting is explicitly limited to:
Anchor links only
Please authenticate to join the conversation.
Done
Pelcro Product
13 days ago

Rana Haleem
Get notified by email when there are changes.
Done
Pelcro Product
13 days ago

Rana Haleem
Get notified by email when there are changes.