Skip to content

Commit e2d80c2

Browse files
Integrated latest changes at 07-09-2025 7:30:09 PM
1 parent 0b5eaad commit e2d80c2

File tree

3 files changed

+10
-79
lines changed

3 files changed

+10
-79
lines changed

ej2-react/kanban/nextjs-getting-started.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ yarn add @syncfusion/ej2-react-kanban
104104

105105
## Import Syncfusion<sup style="font-size:70%">&reg;</sup> CSS styles
106106

107-
Syncfusion<sup style="font-size:70%">&reg;</sup> React components come with [built-in themes](https://ej2.syncfusion.com/react/documentation/appearance/theme/), which are available in the installed packages. It’s easy to adapt the Syncfusion<sup style="font-size:70%">&reg;</sup> React components to match the style of your application by referring to one of the built-in themes.
107+
Syncfusion<sup style="font-size:70%">&reg;</sup> React components come with [built-in themes](https://ej2.syncfusion.com/react/documentation/appearance/theme), which are available in the installed packages. It’s easy to adapt the Syncfusion<sup style="font-size:70%">&reg;</sup> React components to match the style of your application by referring to one of the built-in themes.
108108

109109
Import the `Material` theme into the **src/app/globals.css** file and removed the existing styles in that file, as shown below:
110110

@@ -123,7 +123,7 @@ Import the `Material` theme into the **src/app/globals.css** file and removed th
123123
{% endhighlight %}
124124
{% endtabs %}
125125

126-
> To know more about built-in themes and CSS reference for individual components, refer to the [themes](https://ej2.syncfusion.com/react/documentation/appearance/theme/) section.
126+
> To know more about built-in themes and CSS reference for individual components, refer to the [themes](https://ej2.syncfusion.com/react/documentation/appearance/theme) section.
127127
128128
## Add Syncfusion<sup style="font-size:70%">&reg;</sup> React component
129129

@@ -138,14 +138,15 @@ Follow the below steps to add the React Kanban component to the Next.js project:
138138
import { DataManager, ODataAdaptor } from '@syncfusion/ej2-data';
139139
import { KanbanComponent, ColumnsDirective, ColumnDirective } from "@syncfusion/ej2-react-kanban";
140140
function App(this: any) {
141+
let cardsettings = { contentField: "Summary", headerField: "Id" }
141142
let data = new DataManager({
142143
url: 'https://ej2services.syncfusion.com/production/web-services/api/Kanban',
143144
adaptor: new ODataAdaptor
144145
});
145146
function DialogOpen(args: { cancel: boolean; }) {
146147
args.cancel = true;
147148
}
148-
return (<KanbanComponent id="kanban" keyField="Status" dataSource={data} cardSettings={{ contentField: "Summary", headerField: "Id" }} allowDragAndDrop={false} dialogOpen={DialogOpen.bind(this)}>
149+
return (<KanbanComponent id="kanban" keyField="Status" dataSource={data} cardSettings={cardsettings} allowDragAndDrop={false} dialogOpen={DialogOpen.bind(this)}>
149150
<ColumnsDirective>
150151
<ColumnDirective headerText="To Do" keyField="Open"/>
151152
<ColumnDirective headerText="In Progress" keyField="InProgress"/>

ej2-react/rich-text-editor/tools/text-formatting.md

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -440,76 +440,6 @@ Use the `HorizontalLine` tool in the editor below to see the feature in action.
440440

441441
{% previewsample "page.domainurl/code-snippet/rich-text-editor/horizontal-line" %}
442442

443-
## Insert code
444-
445-
The React Rich Text Editor component offers a powerful feature to format text as preformatted code blocks, making it ideal for displaying programming snippets or structured contents.
446-
447-
### Enabling code block formatting
448-
449-
To enable code block formatting, ensure that the Formats item is included in the toolbar items of your Rich Text Editor configuration.
450-
451-
Below are examples and code snippets demonstrating how to add and effectively use the code block formatting option in the Rich Text Editor.
452-
453-
`[Class-component]`
454-
455-
{% tabs %}
456-
{% highlight js tabtitle="app.jsx" %}
457-
{% include code-snippet/rich-text-editor/code-format-cs1/app/App.jsx %}
458-
{% endhighlight %}
459-
{% highlight ts tabtitle="app.tsx" %}
460-
{% include code-snippet/rich-text-editor/code-format-cs1/app/App.tsx %}
461-
{% endhighlight %}
462-
{% endtabs %}
463-
464-
{% previewsample "page.domainurl/code-snippet/rich-text-editor/code-format-cs1" %}
465-
466-
`[Functional-component]`
467-
468-
{% tabs %}
469-
{% highlight js tabtitle="app.jsx" %}
470-
{% include code-snippet/rich-text-editor/code-format-cs2/app/App.jsx %}
471-
{% endhighlight %}
472-
{% highlight ts tabtitle="app.tsx" %}
473-
{% include code-snippet/rich-text-editor/code-format-cs2/app/App.tsx %}
474-
{% endhighlight %}
475-
{% endtabs %}
476-
477-
{% previewsample "page.domainurl/code-snippet/rich-text-editor/code-format-cs2" %}
478-
479-
### Applying code block formatting
480-
481-
Follow these steps to format text as a code block:
482-
483-
1. Select the desired text in the editor.
484-
2. Click on the `Formats` dropdown in the toolbar.
485-
3. Choose `Preformatted` from the dropdown menu.
486-
487-
### Exiting code block format
488-
489-
To exit the code block format:
490-
491-
1. Place the cursor at the end of your code block content.
492-
2. Press the Enter key twice.
493-
494-
This action will move the cursor out of the code block and return to normal text formatting.
495-
496-
### Enhancing code block appearance
497-
498-
To make your code blocks more visually appealing, you can add custom styling. Here's an example of how to style your `<pre>` tag:
499-
500-
```css
501-
<style>
502-
503-
.e-richtexteditor .e-rte-content .e-content pre{
504-
background-color: #f4f4f4; color: #333; font-family: 'Courier New', Courier, monospace; font-size: 14px; padding: 15px; border-radius: 5px; border: 1px solid #ccc; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word;
505-
}
506-
507-
</style>
508-
509-
```
510-
511-
This styling adds a light gray background, sets a monospace font, and includes padding and borders for better visual separation.
512-
513443
## Format painter
514444

515445
The format painter tool enables users to replicate formatting from one text segment and apply it to another. It can be accessed through the toolbar or keyboard shortcuts, allowing for the transfer of formatting styles from individual words to entire paragraphs. Customization options for the format painter are available through the [formatPainterSettings](../api/rich-text-editor/formatPainterSettings/) property.

ej2-react/spreadsheet/open-save.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ By default, the Spreadsheet component provides an option to browse files from th
130130
```js
131131

132132
// Fetch call to server to load the Excel file.
133-
fetch('https://localhost:{{Your port number}}/Home/Open', {
133+
fetch('https://localhost:{{Your_port_number}}/Home/Open', {
134134
method: 'POST',
135135
headers: {
136136
'Content-Type': 'application/json',
@@ -149,7 +149,7 @@ You can find the server endpoint code to fetch and process the Excel file in thi
149149

150150
```js
151151
// To open an Excel file from the server.
152-
fetch('https://localhost:{port number}/Home/Open')
152+
fetch('https://localhost:{{port_number}}/Home/Open')
153153
```
154154

155155
### Open an excel file using a hosted web service in AWS Lambda
@@ -369,7 +369,7 @@ const App = () => {
369369
retryAfterDelay: 500
370370
}
371371

372-
const openUrl = 'https://localhost:{port number}/Home/Open';
372+
const openUrl = 'https://localhost:{{port_number}}/Home/Open';
373373

374374
return (
375375
<div className='control-section spreadsheet-control'>
@@ -407,7 +407,7 @@ The [attachment](https://www.syncfusion.com/downloads/support/directtrac/general
407407

408408
```js
409409
// Specifies the service URL for processing the Excel file, converting it into a format suitable for loading in the spreadsheet.
410-
<SpreadsheetComponent ref={spreadsheetRef} openUrl="https://localhost:{port number}/Home/Open">
410+
<SpreadsheetComponent ref={spreadsheetRef} openUrl="https://localhost:{{port_number}}/Home/Open">
411411
</SpreadsheetComponent>
412412
```
413413

@@ -531,7 +531,7 @@ By default, the Spreadsheet component saves the Excel file and downloads it to t
531531
formData.append('JSONData', JSON.stringify(json.jsonObject.Workbook));
532532
formData.append('PdfLayoutSettings', JSON.stringify({ FitSheetOnOnePage: false }));
533533
// Using fetch to invoke the save process.
534-
fetch('https://localhost:{{Your port number}}/Home/Save', {
534+
fetch('https://localhost:{{Your_port_number}}/Home/Save', {
535535
method: 'POST',
536536
body: formData
537537
}).then((response) => {
@@ -579,7 +579,7 @@ You can find the server endpoint code to save the spreadsheet data as an Excel f
579579
```js
580580

581581
//To save an Excel file to the server.
582-
fetch('https://localhost:{port number}/Home/Save')
582+
fetch('https://localhost:{{port_number}}/Home/Save')
583583

584584
```
585585

0 commit comments

Comments
 (0)