Text selection and syntax highlighting to markdown previews

https://feedback.yaak.app/p/enable-text-selection-in-the-info-section
This commit is contained in:
Gregory Schier
2025-07-27 08:33:44 -07:00
parent 93c6f6d611
commit 835a2e93e9
5 changed files with 352 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ export function MarkdownEditor({
<p className="text-text-subtlest">No description</p>
) : (
<div className="overflow-y-auto max-h-full [&_*]:cursor-auto [&_*]:select-auto">
<Markdown className="max-w-lg">{defaultValue}</Markdown>
<Markdown className="max-w-lg select-auto cursor-auto">{defaultValue}</Markdown>
</div>
);