Preline's Rich text editor for Paywall Titles & Subtitles

πŸ”

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)

  1. Upgrade the paywall config UI to use Preline templates.

  2. 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.

  3. The Rich Text Editor:

  4. Supports anchor links only (insert/edit/remove link).

  5. Does not support images, headings, lists, blockquotes, inline HTML, scripts, styles, or any other formatting options.

  6. Prevents entry of unsupported formatting via UI controls (no free-form HTML or Markdown input).

  7. Admins can add links through a visual interaction (e.g., select text β†’ add link), without typing syntax.

API

  1. Paywall configuration API endpoints are updated to:

  2. Accept and return rich text content for supported fields (title, subtitle).

  3. Store content in a structured or HTML-safe format suitable for rendering.

  4. Input is validated and sanitized server-side to ensure:

  5. Only anchor links and plain text are persisted.

  6. No unsafe markup, scripts, or layout-breaking content can be stored.

  7. Existing text-only configurations remain fully backward compatible and continue to render correctly without modification.

(Pelcro Default UI & JS SDK)

  1. Meter and Regular Paywalls correctly render:

  2. Plain text titles/subtitles

  3. Titles/subtitles containing anchor links

  4. Rendering behavior is consistent across:

  5. Pelcro Default UI

  6. Pelcro React Elements

  7. JS SDK consumers

Scope & Constraints

  1. This change impacts UI, API, and SDK.

  2. Supported formatting is explicitly limited to:

  3. Anchor links only

Please authenticate to join the conversation.

Upvoters
Status

Done

Board
πŸ’‘

Pelcro Product

ETA
Mar 02, 2026
Date

13 days ago

Author

Rana Haleem

Subscribe to post

Get notified by email when there are changes.