Make sure in the new versions to handle legacy configuration options properly!
If your plugin is called datocms-plugin-foobar
and the entry point specified in the package.json
is build/index.html
, the URL that will be loaded as an iframe will be:
https://plugins-cdn.datocms.com/datocms-plugin-tag-editor@0.1.2/build/index.html
This means that if the page requires a JS file with an absolute path like /js/bundle.js
then it won't work, as the final URL will be https://plugins-cdn.datocms.com/js/bundle.js
, which will be non-existent.
In general, make sure that any external resource you require is expressed as a relative path to the HTML page!