Skip to content

fix(shared): preserve dash-prefixed paragraphs in editor markdown#5979

Closed
rebelchris wants to merge 2 commits intomainfrom
eng-1362-feedback-bug-report-the-new-editor-converts-dialogue-into
Closed

fix(shared): preserve dash-prefixed paragraphs in editor markdown#5979
rebelchris wants to merge 2 commits intomainfrom
eng-1362-feedback-bug-report-the-new-editor-converts-dialogue-into

Conversation

@rebelchris
Copy link
Copy Markdown
Contributor

@rebelchris rebelchris commented May 4, 2026

Summary

  • preserve plain dialogue lines that start with markdown list markers when comments round-trip through the rich text editor
  • escape paragraph-leading -, *, +, and 1. markers during HTML-to-markdown serialization so undoing TipTap auto-lists survives save and reload
  • keep actual <ul> and <ol> content unchanged and add focused regression coverage for paragraph and list round-trips

Key Decisions

  • kept TipTap's built-in list input rules enabled and fixed the markdown round-trip instead of changing editor behavior
  • limited markdown unescaping to escaped list markers at the start of paragraph lines to avoid widening parser behavior unnecessarily

Closes ENG-1362


Created by Huginn 🐦‍⬛

Preview domain

https://eng-1362-feedback-bug-report-the.preview.app.daily.dev

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 4, 2026 9:10am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 4, 2026 9:10am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant