From b6f9f1070047a245d03bdd2fd157758e9e5a067c Mon Sep 17 00:00:00 2001 From: kavitha Muralitharan Date: Tue, 13 May 2025 12:49:37 +0530 Subject: [PATCH 1/2] 957760: Removed Unwanted codes to resolve documentation compilation error in Documentation --- ej2-asp-core-mvc/document-editor/how-to/get-current-word.md | 5 ----- .../document-editor/how-to/get-the-selected-content.md | 4 ---- 2 files changed, 9 deletions(-) diff --git a/ej2-asp-core-mvc/document-editor/how-to/get-current-word.md b/ej2-asp-core-mvc/document-editor/how-to/get-current-word.md index 36ffa42310..88f8d46369 100644 --- a/ej2-asp-core-mvc/document-editor/how-to/get-current-word.md +++ b/ej2-asp-core-mvc/document-editor/how-to/get-current-word.md @@ -26,7 +26,6 @@ The following example code illustrates how to select and get the current word as {% endhighlight %} {% highlight c# tabtitle="Get-word.cs" %} {% endhighlight %} -{% code-snippet/document-editor-container/get-word/document-editor.cs %} {% endtabs %} {% elsif page.publishingplatform == "aspnet-mvc" %} @@ -36,7 +35,6 @@ The following example code illustrates how to select and get the current word as {% include code-snippet/document-editor-container/get-word/razor %} {% endhighlight %} {% highlight c# tabtitle="Get-word.cs" %} -{% code-snippet/document-editor-container/get-word/document-editor.cs %} {% endhighlight %} {% endtabs %} {% endif %} @@ -52,10 +50,8 @@ The following example code illustrates how to select and get the current paragra {% tabs %} {% highlight cshtml tabtitle="CSHTML" %} -{% include code-snippet/document-editor-container/get-paragraph/tagHelper %} {% endhighlight %} {% highlight c# tabtitle="Get-paragraph.cs" %} -{% code-snippet/document-editor-container/get-paragraph/document-editor.cs %} {% endhighlight %} {% endtabs %} @@ -66,7 +62,6 @@ The following example code illustrates how to select and get the current paragra {% include code-snippet/document-editor-container/get-paragraph/razor %} {% endhighlight %} {% highlight c# tabtitle="Get-paragraph.cs" %} -{% code-snippet/document-editor-container/get-paragraph/document-editor.cs %} {% endhighlight %} {% endtabs %} {% endif %} diff --git a/ej2-asp-core-mvc/document-editor/how-to/get-the-selected-content.md b/ej2-asp-core-mvc/document-editor/how-to/get-the-selected-content.md index c45d931f0f..81c13923dc 100644 --- a/ej2-asp-core-mvc/document-editor/how-to/get-the-selected-content.md +++ b/ej2-asp-core-mvc/document-editor/how-to/get-the-selected-content.md @@ -24,7 +24,6 @@ You can use `text` API to get the selected content as plain text from React Docu {% include code-snippet/document-editor-container/get-text/tagHelper %} {% endhighlight %} {% highlight c# tabtitle="Get-text.cs" %} -{% code-snippet/document-editor-container/get-text/document-editor.cs %} {% endhighlight %} {% endtabs %} @@ -35,7 +34,6 @@ You can use `text` API to get the selected content as plain text from React Docu {% include code-snippet/document-editor-container/get-text/razor %} {% endhighlight %} {% highlight c# tabtitle="Get-text.cs" %} -{% code-snippet/document-editor-container/get-text/document-editor.cs %} {% endhighlight %} {% endtabs %} {% endif %} @@ -59,7 +57,6 @@ You can use `sfdt` API to get the selected content as rich text from React Docum {% include code-snippet/document-editor-container/get-sfdt/tagHelper %} {% endhighlight %} {% highlight c# tabtitle="Get-sfdt.cs" %} -{% code-snippet/document-editor-container/get-sfdt/document-editor.cs %} {% endhighlight %} {% endtabs %} @@ -70,7 +67,6 @@ You can use `sfdt` API to get the selected content as rich text from React Docum {% include code-snippet/document-editor-container/get-sfdt/razor %} {% endhighlight %} {% highlight c# tabtitle="Get-sfdt.cs" %} -{% code-snippet/document-editor-container/get-sfdt/document-editor.cs %} {% endhighlight %} {% endtabs %} {% endif %} From 8b67c223782009b9eb2cfe051fb3913154ffc5b6 Mon Sep 17 00:00:00 2001 From: kavitha Muralitharan Date: Tue, 13 May 2025 12:53:02 +0530 Subject: [PATCH 2/2] 957760: Added necessary code --- ej2-asp-core-mvc/document-editor/how-to/get-current-word.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ej2-asp-core-mvc/document-editor/how-to/get-current-word.md b/ej2-asp-core-mvc/document-editor/how-to/get-current-word.md index 88f8d46369..75b26b8645 100644 --- a/ej2-asp-core-mvc/document-editor/how-to/get-current-word.md +++ b/ej2-asp-core-mvc/document-editor/how-to/get-current-word.md @@ -50,6 +50,7 @@ The following example code illustrates how to select and get the current paragra {% tabs %} {% highlight cshtml tabtitle="CSHTML" %} +{% include code-snippet/document-editor-container/get-paragraph/tagHelper %} {% endhighlight %} {% highlight c# tabtitle="Get-paragraph.cs" %} {% endhighlight %}