Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: Ribbon in JavaScript (ES6) Document editor control | Syncfusion
title: Ribbon in JavaScript (ES6) Document editor | Syncfusion
description: Learn here all about the Ribbon UI in Syncfusion JavaScript (ES6) Document editor control, how to switch between Ribbon and Toolbar modes.
platform: document-processing
control: Ribbon
Expand All @@ -16,7 +16,7 @@ You can switch between the classic **Toolbar** and the new **Ribbon** UI, and yo

## Enable Ribbon Mode

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:
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:

- **'Toolbar'** - The traditional toolbar UI.
- **'Ribbon'** - The Ribbon UI, which provides a tabbed interface with grouped commands.
Expand All @@ -32,7 +32,7 @@ import { DocumentEditorContainer, Ribbon } from '@syncfusion/ej2-documenteditor'
DocumentEditorContainer.Inject(Ribbon);
// Initialize the Document Editor Container with Ribbon mode enabled
var container = new ej.documenteditor.DocumentEditorContainer({
enableToobar: true,
enableToolbar: true,
toolbarMode: 'Ribbon', // Options: 'Ribbon' or 'Toolbar'
height: '590px'
});
Expand All @@ -58,7 +58,7 @@ import { DocumentEditorContainer, Ribbon } from '@syncfusion/ej2-documenteditor'
DocumentEditorContainer.Inject(Ribbon);
// Initialize the Document Editor Container with Ribbon mode enabled
var container = new ej.documenteditor.DocumentEditorContainer({
enableToobar: true,
enableToolbar: true,
toolbarMode: 'Ribbon', // Options: 'Ribbon' or 'Toolbar'
ribbonLayout: 'Classic', // Options: 'Simplified' or 'Classic'
height: '590px'
Expand All @@ -69,4 +69,4 @@ container.appendTo('#container');

## See Also

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