Skip to content

Commit

Permalink
Merge pull request #2564 from rishi-raj-jain/main
Browse files Browse the repository at this point in the history
add isMarkableVoid
  • Loading branch information
zbeyens committed Aug 9, 2023
1 parent 7e60b64 commit 4176bc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/plate-ui/mention-element.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ const MentionElement = forwardRef<
className={cn(
'inline-block cursor-pointer rounded-md bg-muted px-1.5 py-0.5 align-baseline text-sm font-medium',
selected && focused && 'ring-2 ring-ring',
element.children[0].bold === true && 'font-bold',
element.children[0].italic === true && 'italic',
element.children[0].underline === true && 'underline',
className
)}
data-slate-value={element.value}
Expand Down

0 comments on commit 4176bc4

Please sign in to comment.