Skip to content

Commit 6194828

Browse files
Merge pull request #1702 from syncfusion-content/963167-initialD
963167: Resolved the ribbon mistake Document Editor
2 parents 22b808b + 188af20 commit 6194828

File tree

1 file changed

+2
-2
lines changed
  • Document-Processing/Word/Word-Processor/javascript-es6

1 file changed

+2
-2
lines changed

Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { DocumentEditorContainer, Ribbon } from '@syncfusion/ej2-documenteditor'
3131

3232
DocumentEditorContainer.Inject(Ribbon);
3333
// Initialize the Document Editor Container with Ribbon mode enabled
34-
var container = new ej.documenteditor.DocumentEditorContainer({
34+
let container: DocumentEditorContainer = new DocumentEditorContainer({
3535
enableToolbar: true,
3636
toolbarMode: 'Ribbon', // Options: 'Ribbon' or 'Toolbar'
3737
height: '590px'
@@ -57,7 +57,7 @@ import { DocumentEditorContainer, Ribbon } from '@syncfusion/ej2-documenteditor'
5757

5858
DocumentEditorContainer.Inject(Ribbon);
5959
// Initialize the Document Editor Container with Ribbon mode enabled
60-
var container = new ej.documenteditor.DocumentEditorContainer({
60+
let container: DocumentEditorContainer = new DocumentEditorContainer({
6161
enableToolbar: true,
6262
toolbarMode: 'Ribbon', // Options: 'Ribbon' or 'Toolbar'
6363
ribbonLayout: 'Classic', // Options: 'Simplified' or 'Classic'

0 commit comments

Comments
 (0)