You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/react/how-to/customize-font-family-drop-down.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
2
layout: post
3
-
title: Customize font dropdown in React Document Editor | Syncfusion
4
-
description: Learn here all about Customize font family drop down in Syncfusion React Document editor component of Syncfusion Essential JS 2 and more.
3
+
title: Customize font dropdown in React DOCX Editor | Syncfusion
4
+
description: Learn here all about Customize font family drop down in Syncfusion React Document Editor component of Syncfusion Essential JS 2 and more.
5
5
control: Customize font family drop down
6
6
platform: document-processing
7
7
documentation: ug
8
8
domainurl: ##DomainURL##
9
9
---
10
10
11
-
# Customize font family drop down in React Document editor component
11
+
# Customize font family drop down in React Document Editor component
12
12
13
-
[React DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor) (Document Editor) provides an options to customize the font family dropdown list values using [`fontfamilies`](https://ej2.syncfusion.com/react/documentation/api/document-editor/documentEditorSettingsModel#fontfamilies) in Document editor settings. Fonts which are added in fontFamilies of [`documentEditorSettings`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#documenteditorsettings) will be displayed on font dropdown list of text properties pane and font dialog.
13
+
[React Document Editor](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor) (Document Editor) provides options to customize the font family drop-down list values using [`fontFamilies`](https://ej2.syncfusion.com/react/documentation/api/document-editor/documentEditorSettingsModel#fontfamilies) in Document editor settings. Fonts added in the fontFamilies of [`documentEditorSettings`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#documenteditorsettings) will be displayed in the font drop-down list of the Text Properties pane and the Font dialog.
14
14
15
15
Similarly, you can use [`documentEditorSettings`](https://ej2.syncfusion.com/react/documentation/api/document-editor#documenteditorsettings) property for DocumentEditor also.
16
16
@@ -25,7 +25,7 @@ import {
25
25
} from'@syncfusion/ej2-react-documenteditor';
26
26
DocumentEditorContainerComponent.Inject(Toolbar);
27
27
function App() {
28
-
// Add required font families to list it in font dropdown
28
+
// Add the required font families to list them in the font drop-down
> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.
46
+
N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/react/how-to/customize-ribbon.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
2
layout: post
3
-
title: Customize Ribbon in React Document Editor | Syncfusion
3
+
title: Customize Ribbon in React DOCX Editor | Syncfusion
4
4
description: Learn how to customize the ribbon in Syncfusion React Document Editor - file menu, backstage, tabs, groups, and items.
5
5
platform: document-processing
6
6
control: Ribbon Customization
7
7
documentation: ug
8
8
domainurl: ##DomainURL##
9
9
---
10
10
11
-
# Customize Ribbon in React Document editor component
11
+
# Customize Ribbon in React Document Editor component
12
12
13
-
The [React DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor) (Document Editor) provides an extensive and flexible API to customize the built-in ribbon UI. You can:
13
+
The [React Document Editor](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor) (Document Editor) provides a rich and flexible API to customize the built-in ribbon UI. You can:
14
14
15
15
- Customize the File menu.
16
16
- Add the Backstage menu instead of File menu.
@@ -22,7 +22,7 @@ Below are detailed examples for each ribbon customization scenario.
22
22
23
23
## File Menu Customization
24
24
25
-
Document Editor provides APIs to remove existing File menu items and add new custom items based on your requirements. You can modify the File menu using the [`fileMenuItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#filemenuitems) property.
25
+
Document Editor provides APIs to remove existing built-in File menu items and add new custom items based on your requirements. You can modify the File menu using the [`fileMenuItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#filemenuitems) property.
26
26
27
27
In the example below, the "Open" and "Export" items have been removed from the File Menu Items, and new custom items have been added.
28
28
@@ -116,17 +116,17 @@ root.render(<Default />);
116
116
```
117
117
{% endraw %}
118
118
119
-
Refer this documentation know more about [`backstageitems`](https://ej2.syncfusion.com/documentation/ribbon/backstage)
119
+
Refer to this documentation to know more about [`backstageitems`](https://ej2.syncfusion.com/documentation/ribbon/backstage)
120
120
121
121
## Tab Customization
122
122
123
123
You can customize the ribbon tabs in the Document Editor by showing, hiding, or adding tabs according to your application's requirements.
124
124
125
125
### Show/Hide Tab
126
126
127
-
Document editor provides the [`showTab`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container/ribbon#showtab) API to show and hide the existing tab using existing`RibbonTabType` and `tabId`.
127
+
Document editor provides the [`showTab`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container/ribbon#showtab) API to show and hide the existing tab using a`RibbonTabType` and `tabId`.
128
128
129
-
The following code example how to show/hide existing tab using existing tab type and tab id.
129
+
The following code example shows how to show/hide an existing tab using the existing tab type and tab id.
130
130
131
131
```ts
132
132
// To hide the Home tab using the built-in `RibbonTabType`
@@ -302,9 +302,9 @@ You can customize individual items within ribbon groups. This includes showing,
302
302
303
303
### Show/Hide Item
304
304
305
-
Using [`showItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container/ribbon#showitems) API in Document editor ribbon to enable/disable the existing item. Here, you can specify the item Id or [`RibbonItemInfo`].
305
+
Using the [`showItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container/ribbon#showitems) API in the Document Editor ribbon to show/hide the existing item. Here, you can specify the item Id or [`RibbonItemInfo`].
306
306
307
-
The following code example show how to show/hide the item using item Id or [`RibbonItemInfo`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#ribboniteminfo).
307
+
The following code example shows how to show/hide the item using item Id or [`RibbonItemInfo`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#ribboniteminfo).
308
308
309
309
```ts
310
310
// To hide the Bold and Italic items using ribbon item information
Using [`enableItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container/ribbon#enableitems) API in Document editor ribbon to enable/disable the existing item.
322
+
Using the [`enableItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container/ribbon#enableitems) API in the Document Editor ribbon to enable/disable the existing item.
323
323
324
324
```ts
325
325
// To disable the underline using ribbon item info
@@ -402,4 +402,4 @@ Explore how to customize the ribbon in the React Document Editor for working wit
402
402
403
403
## Related Links
404
404
405
-
- [File menu Customization Demo](https://ej2.syncfusion.com/demos#/material/document-editor/ribbon-customization)
405
+
- [File Menu Customization Demo](https://document.syncfusion.com/demos/docx-editor/react/#/tailwind3/document-editor/ribbon-customization)
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/react/how-to/customize-tool-bar.md
+10-17Lines changed: 10 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,24 @@
1
1
---
2
2
layout: post
3
-
title: Customize tool bar in React Document editor component | Syncfusion
4
-
description: Learn here all about Customize tool bar in Syncfusion React Document editor component of Syncfusion Essential JS 2 and more.
3
+
title: Customize tool bar in React DOCX Editor component | Syncfusion
4
+
description: Learn here all about Customize tool bar in Syncfusion React Document Editor component of Syncfusion Essential JS 2 and more.
5
5
control: Customize tool bar
6
6
platform: document-processing
7
7
documentation: ug
8
8
domainurl: ##DomainURL##
9
9
---
10
10
11
-
# Customize tool bar in React Document editor component
11
+
# Customize tool bar in React Document Editor component
12
12
13
13
## How to customize existing toolbar in DocumentEditorContainer
14
14
15
-
[React DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor) (Document Editor) Container allows you to customize(add, show, hide, enable, and disable) existing items in a toolbar.
15
+
[React Document Editor](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor) (Document Editor) Container allows you to customize(add, show, hide, enable, and disable) existing items in a toolbar.
16
16
17
-
* Add - New items can defined by [`CustomToolbarItemModel`](https://ej2.syncfusion.com/react/documentation/api/document-editor/customToolbarItemModel/) and with existing items in [`toolbarItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#toolbaritems) property. Newly added item click action can be defined in [`toolbarClick`](https://ej2.syncfusion.com/react/documentation/api/toolbar/clickEventArgs/).
17
+
* Add - New items can be defined by [`CustomToolbarItemModel`](https://ej2.syncfusion.com/react/documentation/api/document-editor/customToolbarItemModel) and with existing items in [`toolbarItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#toolbaritems) property. Newly added item click action can be defined in [`toolbarClick`](https://ej2.syncfusion.com/react/documentation/api/toolbar/clickEventArgs).
18
18
19
-
* Show, Hide - Existing items can be shown or hidden using the [`toolbarItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#toolbaritems) property. Pre-defined toolbar items are available with [`ToolbarItem`](https://ej2.syncfusion.com/react/documentation/api/document-editor/toolbarItem/).
19
+
* Show, Hide - Existing items can be shown or hidden using the [`toolbarItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container#toolbaritems) property. Pre-defined toolbar items are available with [`ToolbarItem`](https://ej2.syncfusion.com/react/documentation/api/document-editor/toolbarItem).
20
20
21
-
* Enable, Disable - Toolbar items can be enabled or disable using [`enableItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container/toolbar#enableItems)
21
+
* Enable, Disable - Toolbar items can be enabled or disabled using [`enableItems`](https://ej2.syncfusion.com/react/documentation/api/document-editor-container/toolbar#enableItems)
0 commit comments