I’ve created an example plugin with a Dynamic Content Macro with a custom editor:
- The custom editor works correctly and stores the data correctly within the parameters
- The “url” element of the view contains ?pid={page.id}&vid=(page.version}&mid={macro.id}
- After inserting and saving the page, the Wiki Format contains the macro, it’s ID and properties
The problem I have is that after you insert the macro and go to view the page, the Macro ID does not get sent properly.
The following is sent to my plugin’s Node server:
https://XXX.herokuapp.com/view-macro?pid=1232&vid=1&mid=&jwt=...
As you can see, the Macro ID parameter is empty!!! This prevents me from writing the plugin any further, as I need the Macro ID to get the Macro Parameters from the REST API etc.
I’ve tested with a fresh plugin and am getting the same issue - it seems I am getting something wrong.
Thanks in advance for any help.