Drag Handle extension #5637
Answered
by
kart-c
laowangdefangjian
asked this question in
Questions & Help
Drag Handle extension
#5637
-
Could you please enrich this extension and add a menu feature? |
Beta Was this translation helpful? Give feedback.
Answered by
kart-c
Sep 24, 2024
Replies: 1 comment 2 replies
-
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. <DragHandle editor={editor}>
<Button onClick={openPopup}>
<DragIcon />
</Button>
<PopupContent /> // only shown when popup is opened
</DragHandle> |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
nperez0111
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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