Skip to content

Commit c702b41

Browse files
Merge pull request #1735 from syncfusion-content/972568-publishD
972568: Resolving the Publishing issue in Document Editor
2 parents cad1dd1 + 790d359 commit c702b41

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Document-Processing/Word/Word-Processor/blazor/how-to/change-document-view.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@ The two available layout types are:
2020

2121
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.
2222

23-
```razor
23+
```
2424
@using Syncfusion.Blazor.DocumentEditor
2525
2626
<SfDocumentEditorContainer @ref="Container" EnableToolbar="true" Height="590px" LayoutType="LayoutType.Continuous">
2727
</SfDocumentEditorContainer>
2828
29-
@code {
30-
private SfDocumentEditorContainer Container;
31-
}
3229
```
3330

3431
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`.

0 commit comments

Comments
 (0)