Skip to content

feat: support whiteSpace: 'pre-wrap' in prepareRichInline#193

Open
ChuanfengZhang wants to merge 1 commit into
chenglou:mainfrom
ChuanfengZhang:main
Open

feat: support whiteSpace: 'pre-wrap' in prepareRichInline#193
ChuanfengZhang wants to merge 1 commit into
chenglou:mainfrom
ChuanfengZhang:main

Conversation

@ChuanfengZhang
Copy link
Copy Markdown

This allows rich text items to preserve leading and trailing spaces, mirroring the behavior of white-space: pre-wrap in CSS. Includes tests for the new mode and ensures backward compatibility with the default 'normal' mode.

This allows rich text items to preserve leading and trailing spaces, mirroring the behavior of white-space: pre-wrap in CSS. Includes tests for the new mode and ensures backward compatibility with the default 'normal' mode.
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