feat: select-none

This commit is contained in:
codytseng
2025-04-12 00:00:45 +08:00
parent a10c9d8ffe
commit ea5b50cf0a
7 changed files with 26 additions and 14 deletions

View File

@@ -70,7 +70,13 @@ const NotePage = forwardRef(({ id, index }: { id?: string; index?: number }, ref
<ParentNote key={`root-note-${event.id}`} eventId={rootEventId} />
)}
<ParentNote key={`parent-note-${event.id}`} eventId={parentEventId} />
<Note key={`note-${event.id}`} event={event} fetchNoteStats hideParentNotePreview />
<Note
key={`note-${event.id}`}
event={event}
className="select-text"
fetchNoteStats
hideParentNotePreview
/>
</div>
<Separator className="mt-4" />
{event.kind === kinds.ShortTextNote ? (