feat: enhance markdown note blocks with style options and double-click config access
- Added support for configuring markdown note block styles, including color and opacity. - Enabled double-click on markdown notes to open their configuration dialog. - Adjusted layout styles in markdown previews for better interaction control. - Updated relevant payloads, types, and UI logic to support added styling features. - Integrated multiple example notes in learning recipes for better visualization.
This commit is contained in:
parent
8f6e475145
commit
1dd7ae2b2d
13 changed files with 280 additions and 34 deletions
|
|
@ -23,7 +23,7 @@ function MarkdownPreviewImpl({
|
|||
<div
|
||||
className={cn(
|
||||
plain
|
||||
? "nodrag h-full w-full overflow-auto p-2 text-xs leading-relaxed"
|
||||
? "h-full w-full overflow-auto p-2 text-xs leading-relaxed pointer-events-none select-none"
|
||||
: "nodrag max-h-56 overflow-auto rounded-md border border-border/60 bg-muted/20 p-2 text-xs leading-relaxed",
|
||||
className,
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue