Skip to content

Commit

Permalink
chore: add context for simliar context
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 23, 2023
1 parent 807d886 commit 85b48d4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions components/editor/intelli/menu/menu-bubble.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export const MenuBubble = ({ editor }) => {
}
{selectLength < 64 && <button
value="left" aria-label="Left aligned"
className={editor.isActive('bold') ? 'is-active BubbleMenuItem' : 'BubbleMenuItem'}
>扩写</button>
className={editor.isActive('bold') ? 'is-active BubbleMenuItem' : 'BubbleMenuItem'}>扩写</button>
}
{selectLength > 64 && <>
<button
Expand Down Expand Up @@ -54,6 +53,12 @@ export const MenuBubble = ({ editor }) => {
</button>
</>
}
<button
value="right" aria-label="Left aligned"
className={editor.isActive('bold') ? 'is-active BubbleMenuItem' : 'BubbleMenuItem'}
>
相似内容
</button>
</div>
</BubbleMenu>
}

0 comments on commit 85b48d4

Please sign in to comment.