From e5e2fa4064110907a6138c4d10a84e11a1909827 Mon Sep 17 00:00:00 2001 From: Simon Cossar Date: Tue, 12 Mar 2019 10:08:56 -0700 Subject: [PATCH] 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 --- config/locales/server.en.yml | 1 + config/site_settings.yml | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 5cd4c04e45f..feb1d292ae2 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 79b08d00237..7b0aeb843f3 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