Draft-js clicks the button to achieve the effect of Ctrl+C/X

1. Recently learning react, requires the development of a rich text editor. I took a fancy to draft-js,
developed by Facebook. I implemented these block-level styles and inline styles in front of the document

.

clipboard.png

now there is a requirement to set up two buttons
copy and cut. How to achieve this, ladies and gentlemen, thank you-sharp-sharp-sharp problem description

Sep.16,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4912e-44cfe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4912e-44cfe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?