I’m making a customized plugin so as to add a button to the buttons panel when enhancing a publish or web page within the traditional editor. I’ve no bother including a button to the panel, however am uncertain of the easiest way to create a popup type permitting a consumer to enter a price to later be added to the textual content being edited as a reputation attribute or tag when this button is clicked. I wish to use pure JS to generate this manner and present it on the admin editor web page when the button is clicked. The shape proven shall be similar to that proven when the hyperlink button is clicked however with none settings, only a textual content field the place I can seize the worth an admin consumer inputs. There additionally could also be in-built wordpress modals I’m open to utilizing. Any assist right here vastly appreciated. Thanks.