Skip to content

Drag Handle extension #5637

Sep 20, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

By Menu, if you mean that you want to open a popup when the drag handle is clicked this can be achieved by adding your own menu as per requirement.
e.g, since I am using React, I can do the following

<DragHandle  editor={editor}>
  <Button onClick={openPopup}>
    <DragIcon />
  </Button>
  <PopupContent /> // only shown when popup is opened
</DragHandle>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@laowangdefangjian
Comment options

@kart-c
Comment options

Answer selected by nperez0111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants