Skip to content

Commit 4ef0b32

Browse files
Updated the code changes
1 parent 209afe5 commit 4ef0b32

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

  • webmcp/getting-started/src/app

‎webmcp/getting-started/src/app/app.ts‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DocumentEditorContainer, Toolbar, Ribbon, WebMcpToolExecuteEventArgs, WebMcpDocumentEditor } from '@syncfusion/ej2-documenteditor';
1+
import { DocumentEditorContainer, Toolbar, Ribbon, WebMcpDocumentEditor } from '@syncfusion/ej2-documenteditor';
22

33
// Inject required modules
44
DocumentEditorContainer.Inject(Toolbar, Ribbon, WebMcpDocumentEditor);
@@ -13,16 +13,7 @@ let container: DocumentEditorContainer = new DocumentEditorContainer({
1313
height: '590px',
1414
enableWebMcp: true,
1515
webMcpSettings: webMcpSettings, // Enable WebMCP tools
16-
documentEditorSettings: {
17-
showRuler: true,
18-
showBookmarks: true,
19-
},
20-
toolbarMode: 'Ribbon',
21-
created: (): void => {
22-
container.documentEditor.documentName = 'WebMCP Tool Demo';
23-
24-
webMcpTools = container.getWebMcpTools();
25-
}
16+
toolbarMode: 'Ribbon'
2617
});
2718

2819
// Set service URL for document operations

0 commit comments

Comments
 (0)