FEATURE: unhide the embed_whitelist_selector setting (#7137)

FEATURE: unhide the embed_whitelist_selector setting (#7137)

  • Unhide embed_whitelist_selector Site Setting and move it to Posting section
  • Add i18n key for the embed_whitelist_selector setting
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 5cd4c04..feb1d29 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -1876,6 +1876,7 @@ en:
 
     embed_truncate: "Truncate the embedded posts."
     embed_support_markdown: "Support Markdown formatting for embedded posts."
+    embed_whitelist_selector: "A comma separated list of CSS elements that are allowed in embeds."
     allowed_href_schemes: "Schemes allowed in links in addition to http and https."
     embed_post_limit: "Maximum number of posts to embed."
     embed_username_required: "The username for topic creation is required."
diff --git a/config/site_settings.yml b/config/site_settings.yml
index 79b08d0..7b0aeb8 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -790,6 +790,8 @@ posting:
     default: true
   embed_support_markdown:
     default: false
+  embed_whitelist_selector:
+    default: ""
   allowed_href_schemes:
     client: true
     default: ""
@@ -1473,9 +1475,6 @@ embedding:
   embed_title_scrubber:
     default: ""
     hidden: true
-  embed_whitelist_selector:
-    default: ""
-    hidden: true
   embed_blacklist_selector:
     default: ""
     hidden: true

GitHub sha: e5e2fa40