Skip to content

Commit

Permalink
Bug/plugin sandbox (#117)
Browse files Browse the repository at this point in the history
* v1.3.4

* v1.3.5

* Make sandbox parameters for plugin registration consistent with slot

* Update package.json
  • Loading branch information
obgibson authored Aug 18, 2023
1 parent 51e8a0f commit d50dfa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Plugins/PluginRegisterSystem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const PluginRegisterSystem: React.FC<{ baseurl?: string }> = ({ baseurl }) => {
name={plg.name}
title={plg.name}
src={pluginPath(plg, baseurl)}
sandbox="allow-scripts"
sandbox={`allow-scripts ${plg.parameters?.sandbox || ''}`}
/>
);
})}
Expand Down

0 comments on commit d50dfa7

Please sign in to comment.