Skip to content

Commit e1ff8cc

Browse files
authored
Update import and injection for DocumentEditorContainer
1 parent 019f2e6 commit e1ff8cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,15 @@ The Document Editor provides options to customize revisions using [`revisionSett
175175
The following example code illustrates how to enable and update custom metadata for track changes revisions.
176176

177177
```ts
178-
import { DocumentEditorContainer, Ribbon } from '@syncfusion/ej2-documenteditor';
178+
import { DocumentEditorContainer, Toolbar } from '@syncfusion/ej2-documenteditor';
179179
let container: DocumentEditorContainer = new DocumentEditorContainer({
180180
height: '590px',
181181
serviceUrl= 'hostUrl',
182182
enableTrackChanges= true,
183183
documentEditorSettings: {
184184
revisionSettings: { customData : "Developer", showCustomDataWithAuthor : true }}
185185
});
186-
DocumentEditorContainer.Inject(Ribbon);
186+
DocumentEditorContainer.Inject(Toolbar);
187187
container.appendTo('#container');
188188
```
189189

0 commit comments

Comments
 (0)