From 14cb7a363976923f5a158bdea4317f12f2a1d203 Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Thu, 30 Oct 2025 14:07:29 +0530 Subject: [PATCH 1/3] 972568: Resolved the documentation mistake Document editor --- .../Word/Word-Processor/javascript-es6/ribbon.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md b/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md index 8ce846125..aca20bb3a 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md @@ -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 @@ -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' }); @@ -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' From 8acd2a2ea6dc7902a269e296d8f52e4ec349c954 Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Thu, 30 Oct 2025 15:19:29 +0530 Subject: [PATCH 2/3] Update link to toolbarMode API documentation --- .../Word/Word-Processor/javascript-es6/ribbon.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md b/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md index aca20bb3a..810ce9ed6 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md @@ -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/index-default#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. @@ -69,4 +69,4 @@ container.appendTo('#container'); ## See Also -* [How to customize the ribbon](./how-to/customize-ribbon) \ No newline at end of file +* [How to customize the ribbon](./how-to/customize-ribbon) From 3448f58c0e469ae9fceb8cb9220132727a8c6d01 Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Thu, 30 Oct 2025 15:32:28 +0530 Subject: [PATCH 3/3] Updated for Ci failures --- .../Word/Word-Processor/javascript-es6/ribbon.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md b/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md index 810ce9ed6..6b8f4d3ec 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/ribbon.md @@ -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/index-default#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.