Skip to content

Commit

Permalink
docs: update for content
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 23, 2023
1 parent c5e7122 commit 0e0fcde
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/editor/intelli/menu/menu-bubble.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ export const MenuBubble = ({ editor }) => {

// 根据长度优化
return <BubbleMenu className={'ToggleGroup'} editor={editor} tippyOptions={{ duration: 100 }}>
{selectLength > 20 && <div className={'BubbleMenuGroup'}>
{selectLength < 64 && <div className={'BubbleMenuGroup'}>
<button>扩写</button>
</div>
}
{selectLength > 64 && <div className={'BubbleMenuGroup'}>
<button
onClick={() => {
editor.commands.setTrackChangeStatus(true)
Expand Down

0 comments on commit 0e0fcde

Please sign in to comment.