File tree Expand file tree Collapse file tree
Document-Processing/Word/Word-Processor/javascript-es6 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,15 +175,15 @@ The Document Editor provides options to customize revisions using [`revisionSett
175175The 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' ;
179179let 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 );
187187container .appendTo (' #container' );
188188```
189189
You can’t perform that action at this time.
0 commit comments