Skip to content

Commit c2cc874

Browse files
Merge pull request #1683 from syncfusion-content/972568-toolD
972568: Resolved the documentation mistake Document editor
2 parents 4735a62 + 7d630a5 commit c2cc874

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: Ribbon in JavaScript (ES6) Document editor control | Syncfusion
3+
title: Ribbon in JavaScript (ES6) Document editor | Syncfusion
44
description: Learn here all about the Ribbon UI in Syncfusion JavaScript (ES6) Document editor control, how to switch between Ribbon and Toolbar modes.
55
platform: document-processing
66
control: Ribbon
@@ -16,7 +16,7 @@ You can switch between the classic **Toolbar** and the new **Ribbon** UI, and yo
1616

1717
## Enable Ribbon Mode
1818

19-
To enable Ribbon in Document Editor, use the [`toolbarMode`](https://ej2.syncfusion.com/documentation/api/document-editor-container#toolbarmode) property of `DocumentEditorContainer`. The available toolbar modes are:
19+
To enable Ribbon in Document Editor, use the [`toolbarMode`](https://ej2.syncfusion.com/documentation/api/document-editor-container/#toolbarmode) property of `DocumentEditorContainer`. The available toolbar modes are:
2020

2121
- **'Toolbar'** - The traditional toolbar UI.
2222
- **'Ribbon'** - The Ribbon UI, which provides a tabbed interface with grouped commands.
@@ -32,7 +32,7 @@ import { DocumentEditorContainer, Ribbon } from '@syncfusion/ej2-documenteditor'
3232
DocumentEditorContainer.Inject(Ribbon);
3333
// Initialize the Document Editor Container with Ribbon mode enabled
3434
var container = new ej.documenteditor.DocumentEditorContainer({
35-
enableToobar: true,
35+
enableToolbar: true,
3636
toolbarMode: 'Ribbon', // Options: 'Ribbon' or 'Toolbar'
3737
height: '590px'
3838
});
@@ -58,7 +58,7 @@ import { DocumentEditorContainer, Ribbon } from '@syncfusion/ej2-documenteditor'
5858
DocumentEditorContainer.Inject(Ribbon);
5959
// Initialize the Document Editor Container with Ribbon mode enabled
6060
var container = new ej.documenteditor.DocumentEditorContainer({
61-
enableToobar: true,
61+
enableToolbar: true,
6262
toolbarMode: 'Ribbon', // Options: 'Ribbon' or 'Toolbar'
6363
ribbonLayout: 'Classic', // Options: 'Simplified' or 'Classic'
6464
height: '590px'
@@ -69,4 +69,4 @@ container.appendTo('#container');
6969

7070
## See Also
7171

72-
* [How to customize the ribbon](./how-to/customize-ribbon)
72+
* [How to customize the ribbon](./how-to/customize-ribbon)

0 commit comments

Comments
 (0)