mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 14:04:21 +01:00
fix: enable to select text in buttons
This commit is contained in:
@@ -98,7 +98,10 @@ const TextNoteContentDisplay = (props: TextNoteContentDisplayProps) => {
|
||||
}
|
||||
if (item.type === 'HashTag') {
|
||||
return (
|
||||
<button class="text-blue-500 underline" onClick={() => addHashTagColumn(item.content)}>
|
||||
<button
|
||||
class="select-text text-blue-500 underline"
|
||||
onClick={() => addHashTagColumn(item.content)}
|
||||
>
|
||||
{item.content}
|
||||
</button>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user