From d501cb21f7f38ad72357fb34b6d8563108ed4f5e Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Wed, 7 May 2025 12:31:32 +0800 Subject: [PATCH] feat(plugin-block-iframe): add permissions policy options and descriptions in schema settings (#6824) * feat(plugin-block-iframe): add permissions policy options and descriptions in schema settings * feat: allow clear --- packages/core/client/src/locale/en-US.json | 3 +- packages/core/client/src/locale/zh-CN.json | 12 +- .../src/client/schemaSettings.tsx | 112 +++++++++++++++++- 3 files changed, 123 insertions(+), 4 deletions(-) diff --git a/packages/core/client/src/locale/en-US.json b/packages/core/client/src/locale/en-US.json index d0867f786e..e70a39d23f 100644 --- a/packages/core/client/src/locale/en-US.json +++ b/packages/core/client/src/locale/en-US.json @@ -886,5 +886,6 @@ "Are you sure you want to hide this tab?": "Are you sure you want to hide this tab?", "After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.", "No pages yet, please configure first": "No pages yet, please configure first", - "Click the \"UI Editor\" icon in the upper right corner to enter the UI Editor mode": "Click the \"UI Editor\" icon in the upper right corner to enter the UI Editor mode" + "Click the \"UI Editor\" icon in the upper right corner to enter the UI Editor mode": "Click the \"UI Editor\" icon in the upper right corner to enter the UI Editor mode", + "Specifies a Permissions Policy for the