Skip to content

Commit 52e3b65

Browse files
authored
Merge pull request #4201 from syncfusion-content/957433-codeHot
957433: Added the Controller code in the Getting started documentation of RichTextEditor-Hotfix
2 parents 2390d96 + 3d2194c commit 52e3b65

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ej2-asp-core-mvc/rich-text-editor/EJ2_ASP.MVC/getting-started.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ Now, add the Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC Rich T
9191
{% highlight razor tabtitle="CSHTML" %}
9292
{% include code-snippet/rich-text-editor/basic/default/razor %}
9393
{% endhighlight %}
94+
{% highlight c# tabtitle="Controller.cs" %}
95+
{% include code-snippet/rich-text-editor/basic/default/controller.cs %}
96+
{% endhighlight %}
9497
{% endtabs %}
9598

9699
Press <kbd>Ctrl</kbd>+<kbd>F5</kbd> (Windows) or <kbd>⌘</kbd>+<kbd>F5</kbd> (macOS) to run the app. Then, the Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC Rich Text Editor control will be rendered in the default web browser.

ej2-asp-core-mvc/rich-text-editor/EJ2_ASP.NETCORE/getting-started.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ Now, add the Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core Rich
9898
{% highlight cshtml tabtitle="CSHTML" %}
9999
{% include code-snippet/rich-text-editor/basic/default/tagHelper %}
100100
{% endhighlight %}
101+
{% highlight c# tabtitle="Controller.cs" %}
102+
{% include code-snippet/rich-text-editor/basic/default/controller.cs %}
103+
{% endhighlight %}
101104
{% endtabs %}
102105

103106
Press <kbd>Ctrl</kbd>+<kbd>F5</kbd> (Windows) or <kbd>⌘</kbd>+<kbd>F5</kbd> (macOS) to run the app. Then, the Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core Rich Text Editor control will be rendered in the default web browser.
@@ -112,6 +115,9 @@ Configure the toolbar with the tools using items field of the [`toolbarSettings`
112115
{% highlight cshtml tabtitle="CSHTML" %}
113116
{% include code-snippet/rich-text-editor/basic/toolbar/tagHelper %}
114117
{% endhighlight %}
118+
{% highlight c# tabtitle="Controller.cs" %}
119+
{% include code-snippet/rich-text-editor/basic/toolbar/controller.cs %}
120+
{% endhighlight %}
115121
{% endtabs %}
116122

117123
![ASP.NET Core Rich Text Editor with Toolbar](images/richtexteditor-with-toolbar.png)

0 commit comments

Comments
 (0)