Файли
openidea/docs/en/plugins
Alexis 0eef66d793 feat(plugins): let web views embed declared and granted origins (#5618)
A plugin web view, custom editor or editor panel can list origins in a new frames field (API 1.16). Each origin must be https (or http to a loopback host), name one exact host with no path, and be covered by a net: capability of the manifest, so the install page shows it. Pages under that declaration's directory are served with a frame-src of the declared origins the user granted, and are revalidated instead of cached immutable, so declining or revoking a host takes effect on the next load. Without frames the CSP is unchanged, the plugin page cannot widen it, and the embedded page keeps the frame's sandbox without window.openidea.

Closes #5523

Co-authored-by: Rhombicdodecahedron <[email protected]>
2026-11-24 23:08:23 +08:00
..