WordPress插件如何用文章动态填充选择?

Good morning everyone, I generated a shortcode through a plugin. This has three fields: a select and two text fields.

What I'd like to do is display and select all the articles in a blog in the select.

After selecting the article, the text fields must be populated with the article's url and publication date.

This is the code generated by the shortcode plugin.

(function(){
tinymce.create("tinymce.plugins.selectpost", {
    init: function(editor, url) {
        editor.addButton("icrp", {
            title: "Shortcode",
            icon: "icon icr-mce-icon dashicons-wordpress",
            onclick: function(){
            // Open window
                        editor.windowManager.open({
                            title: "Shortcode",
                            bodyType: "tabpanel",
                            body: [{
                                  title: "General",
                                  type: "form",
                                  items: [
                                    {type: "listbox", name: "nome", label: "Nome", values: [
                                    ]},
                                    {type: "textbox", name: "url", label: "URL"},
                                    {type: "textbox", name: "data", label: "Data"},
                               ],
                            },
                            {
                                  title: "About",
                                  type: "form",

Who helps me understand how to reach the goal? Thank you!