Skip to content

DOCINFRA-2341_merged_using_automation #4182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 56 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
5de6684
904164: Added Comment Event in Core and MVC
KAVITHAMURALITHARAN Jan 3, 2025
739a1f8
904164: Resolved Tag issue
KAVITHAMURALITHARAN Jan 3, 2025
4192e08
378279: Added topic about how to set maximum rows, columns in Core an…
KAVITHAMURALITHARAN Jan 3, 2025
f3ab16e
Merge branch 'hotfix/hotfix-v28.1.33' into 378279-Max-Row-CM
KAVITHAMURALITHARAN Jan 3, 2025
755585d
378279: Resolved Tag issue
KAVITHAMURALITHARAN Jan 3, 2025
4985502
378279: Resolved Front Matter issue
KAVITHAMURALITHARAN Jan 3, 2025
75b91ab
817044: Added the Font Color changing by UI in Core and MVC
KAVITHAMURALITHARAN Jan 22, 2025
cc25858
817044: Resolved Tag issue
KAVITHAMURALITHARAN Jan 22, 2025
edbbc69
817044: Resolved Tag issue
KAVITHAMURALITHARAN Jan 22, 2025
eeede74
817044: Resolved Front Matter issue
KAVITHAMURALITHARAN Jan 22, 2025
56d4920
814887: Added Get content as plain text/rich text and corrected the n…
KAVITHAMURALITHARAN Jan 22, 2025
9e99e59
817044: Resolved Tag issue
KAVITHAMURALITHARAN Jan 22, 2025
a1d9c61
814887: Resolved Spelling error
KAVITHAMURALITHARAN Jan 23, 2025
0f5b1c9
814887: Resolved Front Matter Issue
KAVITHAMURALITHARAN Jan 23, 2025
cf92f84
814887: Resolved Front matter and tag issue
KAVITHAMURALITHARAN Jan 23, 2025
338d479
933118: Added notes for possibility of modifying the predefined highl…
KAVITHAMURALITHARAN Jan 24, 2025
9ddbfa2
933118: Resolved Spelling error
KAVITHAMURALITHARAN Jan 24, 2025
47c4cb0
933118: Resolved Tag issue
KAVITHAMURALITHARAN Jan 24, 2025
c7e3d5e
935866: Added note for the limitation of margin value in Core and MVC
KAVITHAMURALITHARAN Jan 31, 2025
2c57dcc
933810:Added the enableTrackChanges feature document-level settings C…
KAVITHAMURALITHARAN Feb 3, 2025
47a81bd
933118: Added review changes
KAVITHAMURALITHARAN Feb 4, 2025
90f867b
Merge branch 'hotfix/hotfix-v28.2.3' into 933810-Tc-describ-cm
KAVITHAMURALITHARAN Feb 4, 2025
b452f13
933810: Updated Review changes
KAVITHAMURALITHARAN Feb 4, 2025
99bdc17
933810: Resolved Tag issue
KAVITHAMURALITHARAN Feb 4, 2025
278f5bd
Merge branch '933810-Tc-describ-cm' of https://github.com/syncfusion-…
KAVITHAMURALITHARAN Feb 4, 2025
6927d7d
933810:Resolved tag issue
KAVITHAMURALITHARAN Feb 4, 2025
e41bac9
935866: Updated Review changes
KAVITHAMURALITHARAN Feb 4, 2025
98f9e5f
935866: Removed image
KAVITHAMURALITHARAN Feb 4, 2025
c2d0212
378279: Updated Review Changes
KAVITHAMURALITHARAN Feb 4, 2025
d3ade68
378279: Updated Review Changes
KAVITHAMURALITHARAN Feb 5, 2025
33a795f
378279: Updated Review Changes
KAVITHAMURALITHARAN Feb 5, 2025
0416fc8
817044: Modified Reference Image
KAVITHAMURALITHARAN Feb 5, 2025
65cf3b7
378201: Added wrap text for toolbar on CoreMVC
KAVITHAMURALITHARAN Feb 13, 2025
bada52a
938302: Added code for custom context menu with sub-menu items in Cor…
KAVITHAMURALITHARAN Apr 7, 2025
d789034
SEO-199759-aspnetcore-grid-docs
hillary-ochieng Apr 28, 2025
8f9d419
SEO-199759-aspnetcore-installation-docs
hillary-ochieng Apr 28, 2025
1a31721
951777: Grouped the Rich Text Editor documentation topics and Modifie…
VinithaJeyakumar Apr 29, 2025
73c8e6b
951777: Grouped the Rich Text Editor documentation topics and Modifie…
VinithaJeyakumar Apr 29, 2025
a919666
Merge pull request #4179 from syncfusion-content/951777-MvcGrpHot
saravanangn Apr 29, 2025
2b7239c
Merge branch 'hotfix/hotfix-v29.1.33' into SEO-199759-aspnetcore-grid…
hillary-ochieng Apr 29, 2025
4fce128
Merged pull request #4174 from syncfusion-content/SEO-199759-aspnetco…
GowthamanMayil Apr 30, 2025
938f1ba
Merged pull request #4175 from syncfusion-content/SEO-199759-aspnetco…
GowthamanMayil Apr 30, 2025
7e9605d
905249: Uploader Changing titles to saving and returning responses
sf4443 May 1, 2025
97cad30
Merge pull request #4186 from syncfusion-content/905249-Uploader-HF
UdhayaKumarDuraisamy May 2, 2025
31e0563
Merge branch 'hotfix/hotfix-v29.1.33' into 904164-cmtEvent-CM
mugunthan-anbalagan May 2, 2025
55b35e4
Merge pull request #3755 from syncfusion-content/904164-cmtEvent-CM
mugunthan-anbalagan May 2, 2025
2e3fb4d
Merge pull request #3759 from syncfusion-content/378279-Max-Row-CM
mugunthan-anbalagan May 2, 2025
f5770c4
Merge pull request #3888 from syncfusion-content/378201-wrap-tool-CM
mugunthan-anbalagan May 2, 2025
d393abd
Merge branch 'hotfix/hotfix-v29.1.33' into 814887-get-content-CM
mugunthan-anbalagan May 2, 2025
f223a5b
Merge pull request #3804 from syncfusion-content/814887-get-content-CM
mugunthan-anbalagan May 2, 2025
ab3dceb
Merge pull request #3801 from syncfusion-content/8170440-color-des-cm
mugunthan-anbalagan May 2, 2025
513946f
Merge pull request #3811 from syncfusion-content/933118-highLight-Not…
mugunthan-anbalagan May 2, 2025
a2a9d32
Merge pull request #3836 from syncfusion-content/935866-Marginnote-CM
mugunthan-anbalagan May 2, 2025
b0529ed
Merge pull request #3846 from syncfusion-content/933810-Tc-describ-cm
mugunthan-anbalagan May 2, 2025
6ce4922
Merge branch 'hotfix/hotfix-v29.1.33' into 938302-sub-menu-cm
mugunthan-anbalagan May 2, 2025
51dbc2e
Merge pull request #4137 from syncfusion-content/938302-sub-menu-cm
mugunthan-anbalagan May 2, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The NuGet **Package Manager UI** allows to search, install, uninstall, and updat

![ASP.NET Core NuGet Packages Install](images/InstallNuGet.png)

5. At this point, your application has all the required Syncfusion<sup style="font-size:70%">&reg;</sup> assemblies, and you will be ready to start building high-performance, responsive app with [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core JS2 components](https://www.syncfusion.com/aspnet-core-ui-controls). Also, you can refer to the [ASP.NET Core JS2 help document](https://ej2.syncfusion.com/aspnetcore/documentation/introduction/) for development.
5. At this point, your application has all the required Syncfusion<sup style="font-size:70%">&reg;</sup> assemblies, and you will be ready to start building high-performance, responsive app with [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core JS2 components](https://www.syncfusion.com/aspnet-core-ui-controls). Also, you can refer to the [ASP.NET Core JS2 help document](https://ej2.syncfusion.com/aspnetcore/documentation/introduction) for development.

## Installation using Dotnet (.NET) CLI

Expand All @@ -72,7 +72,7 @@ Follow the below instructions to use the dotnet CLI command to install the Syncf

N> Restoring is done automatically with **dotnet build** and **dotnet run** in .NET Core 2.0 and later.

5. At this point, your application has all the required Syncfusion<sup style="font-size:70%">&reg;</sup> assemblies, and you will be ready to start building high-performance, responsive app with [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core JS2 components](https://www.syncfusion.com/aspnet-core-ui-controls). Also, you can refer to the [ASP.NET Core JS2 help document](https://ej2.syncfusion.com/aspnetcore/documentation/introduction/) for development.
5. At this point, your application has all the required Syncfusion<sup style="font-size:70%">&reg;</sup> assemblies, and you will be ready to start building high-performance, responsive app with [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core JS2 components](https://www.syncfusion.com/aspnet-core-ui-controls). Also, you can refer to the [ASP.NET Core JS2 help document](https://ej2.syncfusion.com/aspnetcore/documentation/introduction) for development.

## Installation using Package Manager Console

Expand Down Expand Up @@ -110,4 +110,4 @@ The **Package Manager Console** saves NuGet packages installation time since you

4. The NuGet package manager console will install the Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core JS2 NuGet package as well as the dependencies it has. When the installation is complete, the console will show that your Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core JS2 package has been successfully added to the application.

5. At this point, your application has all the required Syncfusion<sup style="font-size:70%">&reg;</sup> assemblies, and you will be ready to start building high-performance, responsive app with [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core JS2 components](https://www.syncfusion.com/aspnet-core-ui-controls). Also, you can refer to the [ASP.NET Core JS2 help document](https://ej2.syncfusion.com/aspnetcore/documentation/introduction/) for development.
5. At this point, your application has all the required Syncfusion<sup style="font-size:70%">&reg;</sup> assemblies, and you will be ready to start building high-performance, responsive app with [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core JS2 components](https://www.syncfusion.com/aspnet-core-ui-controls). Also, you can refer to the [ASP.NET Core JS2 help document](https://ej2.syncfusion.com/aspnetcore/documentation/introduction) for development.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public ActionResult Default()
{
return View();
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public ActionResult Default()
{
return View();
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

@Html.EJS().DocumentEditorContainer("container").EnableToolbar(true).Height("590px").BeforeCommentAction("beforeComment").Render()
<script>
var documenteditor;
var container;
function onCreated() {
var documenteditorElement = document.getElementById('container');
container = documenteditorElement.ej2_instances[0];
documenteditor = container.documentEditor;
let mentionData = [
{ "Name": "Mary Kate", "EmailId": "marry@company.com" },
{ "Name": "Andrew James", "EmailId": "james@company.com" },
{ "Name": "Andrew Fuller", "EmailId": "andrew@company.com" }
];
container.documentEditorSettings.mentionSettings = { dataSource: mentionData, fields: { text: 'Name' } };
container.currentUser = "Guest User";
}
function beforeComment(args) {
if (args.type === "Delete" && container.currentUser !== args.author) {
args.cancel = true;
}
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

<ejs-documenteditorcontainer id="container" serviceUrl="/api/DocumentEditor/" enableToolbar=true created="onCreated" beforeCommentAction="beforeComment" height="590px"></ejs-documenteditorcontainer>

<script>
var documenteditor;
var container;
function onCreated() {
var documenteditorElement = document.getElementById('container');
container = documenteditorElement.ej2_instances[0];
documenteditor = container.documentEditor;
let mentionData = [
{ "Name": "Mary Kate", "EmailId": "marry@company.com" },
{ "Name": "Andrew James", "EmailId": "james@company.com" },
{ "Name": "Andrew Fuller", "EmailId": "andrew@company.com"}
];
container.documentEditorSettings.mentionSettings = { dataSource: mentionData, fields: { text: 'Name' }};
container.currentUser = "Guest User";
}
function beforeComment(args){
if(args.type === "Delete" && container.currentUser !== args.author){
args.cancel = true;
}
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public ActionResult Default()
{
return View();
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@Html.EJS().DocumentEditorContainer("container").Created("onCreated").EnableToolbar(true).Render()

<script>
var documenteditor;
var container;
function onCreated() {
var documenteditorElement = document.getElementById("container");
container = documenteditorElement.ej2_instances[0];
documenteditor = container.documentEditor;
// creating Custom Options
let menuItems = [
{
text: 'Form field',
id: 'form field',
iconCss: 'e-de-formfield e-icons',
items: [
{
text: 'Text form',
id: 'Text form',
iconCss: 'e-icons e-de-textform',
},
{
text: 'Check box',
id: 'Check box',
iconCss: 'e-icons e-de-checkbox-form',
},
{
text: 'Drop down',
id: 'Drop down',
iconCss: 'e-icons e-de-dropdownform',
},
],
},
];
// adding Custom Options
container.documentEditor.contextMenu.addCustomMenu(menuItems, false, true);
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<div class="control-section">
<ejs-documenteditorcontainer id="container" serviceUrl="/api/DocumentEditor/" enableToolbar=true created="onCreated" height="590px"></ejs-documenteditorcontainer>
</div>
<script>
var documenteditor;
var container;
function onCreated() {
var documenteditorElement = document.getElementById("container");
container = documenteditorElement.ej2_instances[0];
documenteditor = container.documentEditor;
// creating Custom Options
let menuItems = [
{
text: 'Form field',
id: 'form field',
iconCss: 'e-de-formfield e-icons',
items: [
{
text: 'Text form',
id: 'Text form',
iconCss: 'e-icons e-de-textform',
},
{
text: 'Check box',
id: 'Check box',
iconCss: 'e-icons e-de-checkbox-form',
},
{
text: 'Drop down',
id: 'Drop down',
iconCss: 'e-icons e-de-dropdownform',
},
],
},
];
// adding Custom Options
container.documentEditor.contextMenu.addCustomMenu(menuItems, false, true);
}
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
// To select the current paragraph in document
container.documentEditor.selection.selectParagraph();

// To get the selected content as sfdt
var selectedContent = container.documentEditor.selection.sfdt;
// To get the selected content as text
var selectedContentText = container.documentEditor.selection.text;
// To get the selected content as SFDT (rich text)
var selectedContentSFDT = container.documentEditor.selection.sfdt;
}
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
// To select the current paragraph in document
container.documentEditor.selection.selectParagraph();

// To get the selected content as sfdt
var selectedContent = container.documentEditor.selection.sfdt;
// To get the selected content as text
var selectedContentText = container.documentEditor.selection.text;
// To get the selected content as SFDT (rich text)
var selectedContentSFDT = container.documentEditor.selection.sfdt;
}
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
container.documentEditor.selection.selectCurrentWord();

// To get the selected content as text
var selectedContent = container.documentEditor.selection.text;
var selectedContentText = container.documentEditor.selection.text;
// To get the selected content as SFDT (rich text)
var selectedContentSFDT = container.documentEditor.selection.sfdt;
}
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
container.documentEditor.selection.selectCurrentWord();

// To get the selected content as text
var selectedContent = container.documentEditor.selection.text;
var selectedContentText = container.documentEditor.selection.text;
// To get the selected content as SFDT (rich text)
var selectedContentSFDT = container.documentEditor.selection.sfdt;
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public ActionResult Default()
{
return View();
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public ActionResult Default()
{
return View();
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<div>
@Html.EJS().DocumentEditorContainer("container").documentChange("onDocChange").EnableToolbar(true).Render()
</div>

<ejs-documenteditorcontainer id="container" documentChange="onDocumentChange" enableToolbar=true serviceUrl="/api/DocumentEditor/" height="590px"></ejs-documenteditorcontainer>
<script>
function onDocumentChange() {
var container = document.getElementById("container").ej2_instances[0];
if(container !== null){
container.documentEditor.enableTrackChanges= true;
}
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<ejs-documenteditorcontainer id="container" documentChange="onDocumentChange" enableToolbar=true serviceUrl="/api/DocumentEditor/" height="590px"></ejs-documenteditorcontainer>
<script>
function onDocumentChange() {
var container = document.getElementById("container").ej2_instances[0];
if(container !== null){
container.documentEditor.enableTrackChanges= true;
}
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public ActionResult Default()
{
return View();
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public ActionResult Default()
{
return View();
}

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
var toolItem = {
prefixIcon: "e-de-ctnr-lock",
tooltipText: "Disable Image",
text: "Disable Image",
text: onWrapText("Disable Image"),
id: "Custom"
};
container.toolbarItems = [toolItem, 'Undo', 'Redo', 'Separator', 'Image', 'Table', 'Hyperlink', 'Bookmark', 'TableOfContents', 'Separator', 'Header', 'Footer', 'PageSetup', 'PageNumber', 'Break', 'InsertFootnote', 'InsertEndnote', 'Separator', 'Find', 'Separator', 'Comments', 'TrackChanges', 'Separator', 'LocalClipboard', 'RestrictEditing', 'Separator', 'FormFields', 'UpdateFields','ContentControl'];
Expand All @@ -21,4 +21,17 @@
}
};
}

function onWrapText(text) {
let content = '';
const index = text.lastIndexOf(' ');

if (index !== -1) {
content = text.slice(0, index) + "<div class='e-de-text-wrap'>" + text.slice(index + 1) + "</div>";
} else {
content = text;
}

return content;
}
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
var toolItem = {
prefixIcon: "e-de-ctnr-lock",
tooltipText: "Disable Image",
text: "Disable Image",
text: onWrapText("Disable Image"),
id: "Custom"
};
container.toolbarItems = [toolItem, 'Undo', 'Redo', 'Separator', 'Image', 'Table', 'Hyperlink', 'Bookmark', 'TableOfContents', 'Separator', 'Header', 'Footer', 'PageSetup', 'PageNumber', 'Break', 'InsertFootnote', 'InsertEndnote', 'Separator', 'Find', 'Separator', 'Comments', 'TrackChanges', 'Separator', 'LocalClipboard', 'RestrictEditing', 'Separator', 'FormFields', 'UpdateFields','ContentControl'];
Expand All @@ -18,4 +18,17 @@
}
};
}

function onWrapText(text) {
let content = '';
const index = text.lastIndexOf(' ');

if (index !== -1) {
content = text.slice(0, index) + "<div class='e-de-text-wrap'>" + text.slice(index + 1) + "</div>";
} else {
content = text;
}

return content;
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
public class HomeController : Controller
{

public ActionResult Index()
{
ViewBag.value = @"<p>The Rich Text Editor component is WYSIWYG (\'what you see is what you get\') editor that provides the best user experience to create and update the content. Users can format their content using standard toolbar commands.</p><p><b>Key features:</b></p><ul><li><p>Provides &lt;IFRAME&gt; and &lt;DIV&gt; modes</p></li><li><p>Capable of handling markdown editing.</p></li><li><p>Contains a modular library to load the necessary functionality on demand.</p></li><li><p>Provides a fully customizable toolbar.</p></li><li><p>Provides HTML view to edit the source directly for developers.</p></li><li><p>Supports third-party library integration.</p></li><li><p>Allows preview of modified content before saving it.</p></li><li><p>Handles images, hyperlinks, video, hyperlinks, uploads, etc.</p></li><li><p>Contains undo/redo manager.</p></li><li><p>Creates bulleted and numbered lists.</p></li></ul>";
ViewBag.items = new[] { "Undo", "Redo", "|", "Bold", "Italic", "Underline", "StrikeThrough", "|", "FontName", "FontSize", "FontColor", "BackgroundColor" };
return View();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

@Html.EJS().RichTextEditor("toolbar").ToolbarSettings(e => e.Items((object)ViewBag.items)).Value(ViewBag.value).Render()
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<ejs-richtexteditor id="toolbar" value="@ViewBag.value">
<e-richtexteditor-toolbarsettings items="@ViewBag.items"></e-richtexteditor-toolbarsettings>
</ejs-richtexteditor>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
public class HomeController : Controller
{

public ActionResult Index()
{
ViewBag.value = @"<p>The Syncfusion Rich Text Editor, a WYSIWYG (what you see is what you get) editor, is a user interface that allows you to create, edit, and format rich text content. You can try out a demo of this editor here.</p><p><b>Key features:</b></p><ul><li><p>Provides &lt;IFRAME&gt; and &lt;DIV&gt; modes.</p></li><li><p>Bulleted and numbered lists.</p></li><li><p>Handles images, hyperlinks, videos, hyperlinks, uploads, etc.</p></li><li><p>Contains undo/redo manager. </p></li></ul><div style='display: inline-block; width: 60%; vertical-align: top; cursor: auto;'><img alt='Sky with sun' src='https://cdn.syncfusion.com/ej2/richtexteditor-resources/RTE-Overview.png' width='309' style='min-width: 10px; min-height: 10px; width: 309px; height: 174px;' class='e-rte-image e-imginline e-rte-drag-image' height='174' /></div>";
ViewBag.text = new[] { "Bold", "Italic", "Underline", "FontColor", "BackgroundColor", "Alignments", "-", "FontSize", "FontName", "Formats", "OrderedList", "UnorderedList"};
return View();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@Html.EJS().RichTextEditor("text").QuickToolbarSettings(e => { e.Text((object)ViewBag.text); }).Value(ViewBag.value).Render()
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<ejs-richtexteditor id="text" value="@ViewBag.value">
<e-richtexteditor-quicktoolbarsettings text="@ViewBag.text"></e-richtexteditor-quicktoolbarsettings>
</ejs-richtexteditor>
Loading