In the previous version, I implemented the removal of blocks using chat, so it was quite practical and I wanted it to change after clicking on the text. This was almost impossible because there are no standard methods that give such an opportunity. Therefore, it was decided to forget about this method of interaction and try the
SmartInvs API. This extension made it possible to modify the window and create interesting and convenient functionality in it, and now in order for my plugin to work, you need to download this API
here.
P.s: The menu is invoked by the same
/my-blocks
