Skip to content

feat(richText): add markdown mode support to onChange plugin #8159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025

Conversation

estib-vega
Copy link
Contributor

Introduce getMarkdownString helper to centralize markdown conversion.
Update updateEditorToPlaintext to use this helper for consistency.
Modify OnChangePlugin to accept a markdown prop and emit markdown
content when enabled, improving WYSIWYG markdown editing support.
This ensures onChange callbacks receive accurate markdown output
when markdown mode is active, enhancing editor flexibility.

Introduce getMarkdownString helper to centralize markdown conversion.
Update updateEditorToPlaintext to use this helper for consistency.
Modify OnChangePlugin to accept a markdown prop and emit markdown
content when enabled, improving WYSIWYG markdown editing support.
This ensures onChange callbacks receive accurate markdown output
when markdown mode is active, enhancing editor flexibility.
Copy link

vercel bot commented Apr 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gitbutler-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 1:51pm
gitbutler-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 1:51pm

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

Successfully merging this pull request may close these issues.

1 participant