From efed387f0505e74cd2c5fed11a640ce3e8bcc4af Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Thu, 6 Nov 2025 11:06:24 +0530 Subject: [PATCH 1/2] 972568: Resolving the Publishing issue in Document Editor --- .../Word/Word-Processor/blazor/how-to/change-document-view.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md b/Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md index 0775c9370..0c7bfce96 100644 --- a/Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md +++ b/Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md @@ -20,14 +20,14 @@ The two available layout types are: The layout type can be set during component initialization. The following example demonstrates how to configure the Document Editor to use the `Continuous` (Web Layout) view. -```razor +``` @using Syncfusion.Blazor.DocumentEditor @code { - private SfDocumentEditorContainer Container; + SfDocumentEditorContainer Container; } ``` From 790d3599c06c7251570cf99d144c78c0e736618e Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Thu, 6 Nov 2025 11:24:29 +0530 Subject: [PATCH 2/2] Remove unused code from change document view example Updated the example to remove unused code for the document editor container. --- .../Word/Word-Processor/blazor/how-to/change-document-view.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md b/Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md index 0c7bfce96..d28835572 100644 --- a/Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md +++ b/Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md @@ -26,9 +26,6 @@ The layout type can be set during component initialization. The following exampl -@code { - SfDocumentEditorContainer Container; -} ``` N> By default, the `LayoutType` is set to `LayoutType.Pages`, which provides a print layout view. To switch to a web layout, set the property to `LayoutType.Continuous`.