-
Notifications
You must be signed in to change notification settings - Fork 1
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
[FE] Implement Tag and Question References for Answer Creation #624
Conversation
@@ -112,7 +114,18 @@ export function CreateAnswerForm({ questionId }: CreateAnswerFormProps) { | |||
|
|||
{isPreviewMode ? ( | |||
<div className="min-h-[200px] rounded-lg border border-gray-300 bg-white p-4"> | |||
<ContentWithSnippets content={content} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't add a new ReactMarkdown here, instead add the custom component to the ReactMarkdown element within ContentWithSnippets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was the most confusing part, thanks for the tip! Working on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, looks good to me
Closes #624. |
📋 Proposed Changes
Related Issue
🧪 Included Tests