From f7683c9e587fa574362792ef8b96c68017f68b99 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 13 Apr 2026 12:16:33 +1000 Subject: [PATCH] DOC-3394: Add content filtering intro to content-filtering page Update description and keywords to mention valid_elements, invalid_elements, extended_valid_elements. Add intro paragraph summarizing key filtering options to address Context7 benchmark Q10 (22/100). --- modules/ROOT/pages/content-filtering.adoc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/content-filtering.adoc b/modules/ROOT/pages/content-filtering.adoc index e65bc480a3..6a4378fe3c 100644 --- a/modules/ROOT/pages/content-filtering.adoc +++ b/modules/ROOT/pages/content-filtering.adoc @@ -1,7 +1,10 @@ = Content filtering options :navtitle: Content filtering -:description_short: Learn how to create clean, maintainable and readable content. -:description: These settings change the way the editor handles the input and output of content. This will help you to create clean, maintainable and readable content. +:description_short: Control which HTML elements and attributes are allowed or removed using valid_elements, invalid_elements, and extended_valid_elements. +:description: Configure content filtering and sanitization using valid_elements, invalid_elements, extended_valid_elements, and paste hooks. Control which HTML elements and attributes {productname} allows or removes when content is inserted or pasted. +:keywords: valid_elements, invalid_elements, extended_valid_elements, allow_html_in_named_anchor, content filtering, sanitization, HTML elements, paste_preprocess, paste_postprocess + +Use `+valid_elements+` to define which elements and attributes are allowed, `+invalid_elements+` to block specific elements, and `+extended_valid_elements+` to add or modify rules. For paste-time filtering, use the `+PastePreProcess+` and `+PastePostProcess+` events or the xref:introduction-to-powerpaste.adoc[PowerPaste] plugin options. include::partial$configuration/allow_conditional_comments.adoc[]