From ac9797e671743dbf91fea3cfb78e08509fbe8a55 Mon Sep 17 00:00:00 2001 From: Bhuvaneshwari-SF4208 Date: Fri, 10 Oct 2025 17:44:50 +0530 Subject: [PATCH 1/2] 985781: Paste cleanup documentation improvement for blazor --- blazor/rich-text-editor/paste-cleanup.md | 51 ++++++++++++++++++------ 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/blazor/rich-text-editor/paste-cleanup.md b/blazor/rich-text-editor/paste-cleanup.md index beff84aac7..f08acf3235 100644 --- a/blazor/rich-text-editor/paste-cleanup.md +++ b/blazor/rich-text-editor/paste-cleanup.md @@ -17,22 +17,24 @@ When pasting content into the editor, you can control the formatting and styles | API | Description | Default Value | Type | |:----------------:|:---------:|:-----------------------------:|:---------:| -| [Prompt](#prompt-dialog) | To invoke prompt dialog with paste options on pasting the content in editor. | false | boolean | -| [PlainText](#paste-as-plain-text) | To paste the content as plain text. | false | boolean | -| [KeepFormat](#keep-format) | To keep the same format with copied content. | true | boolean | -| [DeniedTags](#denied-tags) | To ignore the tags when pasting HTML content. | null | string[] | -| [DeniedAttributes](#denied-attributes) | To paste the content by filtering out these attributes from the content. | null | string[] | -| [AllowedStyleProperties](#allowed-style-properties) | To paste the content by accepting these style attributes and removing other style attributes. | [background, background-color, border, border-bottom, border-left, border-radius, border-right, border-style, border-top, border-width, clear, color, cursor, direction, display, float, font, font-family, font-size, font-weight, font-style, height, left, line-height, margin, margin-top, margin-left, margin-right, margin-bottom, max-height, max-width, min-height, min-width, overflow, overflow-x, overflow-y, padding, padding-bottom, padding-left, padding-right, padding-top, position, right, table-layout, text-align, text-decoration, text-indent, top, vertical-align, visibility, white-space, width] | string[] | +| [Prompt](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorPasteCleanupSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorPasteCleanupSettings_Prompt) | Displays a dialog box when content is pasted, allowing users to choose how the content should be inserted—either as plain text, with formatting, or cleaned HTML. | false | boolean | +| [PlainText](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorPasteCleanupSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorPasteCleanupSettings_PlainText) | To paste the content as plain text. | false | boolean | +| [KeepFormat](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorPasteCleanupSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorPasteCleanupSettings_KeepFormat) | To keep the same format with copied content. | true | boolean | +| [DeniedTags](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorPasteCleanupSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorPasteCleanupSettings_DeniedTags) | Specifies a list of HTML tags to be removed from the pasted content, such as `