Skip to content

Commit 2c6e2c7

Browse files
committed
1002931: Update the CSS references for Ribbon mode
1 parent 1100d85 commit 2c6e2c7

3 files changed

Lines changed: 52 additions & 0 deletions

File tree

Document-Processing/Word/Word-Processor/angular/ribbon.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,24 @@ To enable Ribbon in Angular Document Editor, use the [`toolbarMode`](https://ej2
2323

2424
By default, `toolbarMode` is `Toolbar`.
2525

26+
## Adding CSS reference for Ribbon Mode
27+
28+
The following CSS files are available in **../node_modules/@syncfusion** package folder.
29+
This can be referenced in [src/styles.css] using following code.
30+
31+
```css
32+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
33+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
34+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
35+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
36+
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
37+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
38+
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
39+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
40+
@import '../node_modules/@syncfusion/ej2-angular-documenteditor/styles/material.css';
41+
@import '../node_modules/@syncfusion/ej2-ribbon/styles/material.css';/* Required for Ribbon */
42+
```
43+
2644
The following code shows the how to enable the `Ribbon` in Document Editor.
2745

2846
```typescript

Document-Processing/Word/Word-Processor/react/ribbon.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ To enable Ribbon in React Document Editor, use the [`toolbarMode`](https://ej2.s
2323

2424
By default, `toolbarMode` is `Toolbar`.
2525

26+
## Adding CSS reference for Ribbon Mode
27+
28+
Add Document Editor component and its dependent component styles available in **../node_modules/@syncfusion** package folder. This can be added as reference in **src/App.css**.
29+
30+
```css
31+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
32+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
33+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
34+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
35+
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
36+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
37+
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
38+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
39+
@import "../node_modules/@syncfusion/ej2-documenteditor/styles/material.css";
40+
@import '../node_modules/@syncfusion/ej2-ribbon/styles/material.css';/* Required for Ribbon */
41+
```
42+
2643
The following code shows the how to enable the `Ribbon` in Document Editor.
2744

2845
{% raw %}

Document-Processing/Word/Word-Processor/vue/ribbon.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ To enable Ribbon in Document Editor, use the [`toolbarMode`](https://ej2.syncfus
2323

2424
By default, `toolbarMode` is `Toolbar`.
2525

26+
## Adding CSS reference for Ribbon Mode
27+
28+
Add Document Editor component and its dependent component styles available in **../node_modules/@syncfusion** package folder. This can be added as reference in **src/App.vue**.
29+
30+
```css
31+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
32+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
33+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
34+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
35+
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
36+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
37+
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
38+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
39+
@import "../node_modules/@syncfusion/ej2-documenteditor/styles/material.css";
40+
@import '../node_modules/@syncfusion/ej2-ribbon/styles/material.css';/* Required for Ribbon */
41+
```
42+
2643
The following code shows the how to enable the `Ribbon` in Document Editor.
2744

2845
{% tabs %}

0 commit comments

Comments
 (0)