Skip to content

Commit 739a1f8

Browse files
904164: Resolved Tag issue
1 parent 5de6684 commit 739a1f8

File tree

6 files changed

+36
-7
lines changed

6 files changed

+36
-7
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
public ActionResult Default()
2+
{
3+
return View();
4+
}
5+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
public ActionResult Default()
2+
{
3+
return View();
4+
}
5+

ej2-asp-core-mvc/code-snippet/document-editor-container/comments-event/razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
@Html.EJS().DocumentEditorContainer("container").EnableToolbar(true).Height("590px").BeforeCommentAction("beforeComment").Render()
23
<script>
34
var documenteditor;

ej2-asp-core-mvc/code-snippet/document-editor-container/comments-event/tagHelper

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
<ejs-documenteditorcontainer id="container" serviceUrl="/api/DocumentEditor/" enableToolbar=true created="onCreated" beforeCommentAction="beforeComment" height="590px"></ejs-documenteditorcontainer>
23

34
<script>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
public ActionResult Default()
2+
{
3+
return View();
4+
}
5+

ej2-asp-core-mvc/document-editor/comments.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ Document editor provides an option to protect and unprotect document using `enfo
153153
{% include code-snippet/document-editor-container/comment-only-protect/tagHelper %}
154154
{% endhighlight %}
155155
{% highlight c# tabtitle="Comment-only.cs" %}
156-
{% endhighlight %}{% endtabs %}
156+
{% include code-snippet/document-editor-container/comment-only-protect/document-editor.cs %}
157+
{% endhighlight %}
158+
{% endtabs %}
157159

158160
{% elsif page.publishingplatform == "aspnet-mvc" %}
159161

@@ -162,7 +164,9 @@ Document editor provides an option to protect and unprotect document using `enfo
162164
{% include code-snippet/document-editor-container/comment-only-protect/razor %}
163165
{% endhighlight %}
164166
{% highlight c# tabtitle="Comment-only.cs" %}
165-
{% endhighlight %}{% endtabs %}
167+
{% include code-snippet/document-editor-container/comment-only-protect/document-editor.cs %}
168+
{% endhighlight %}
169+
{% endtabs %}
166170
{% endif %}
167171

168172

@@ -185,7 +189,9 @@ The following example illustrates how to enable mention support in Document Edit
185189
{% include code-snippet/document-editor-container/comments-mention/tagHelper %}
186190
{% endhighlight %}
187191
{% highlight c# tabtitle="comments-mention.cs" %}
188-
{% endhighlight %}{% endtabs %}
192+
{% include code-snippet/document-editor-container/comments-mention/document-editor.cs %}
193+
{% endhighlight %}
194+
{% endtabs %}
189195

190196
{% elsif page.publishingplatform == "aspnet-mvc" %}
191197

@@ -194,7 +200,9 @@ The following example illustrates how to enable mention support in Document Edit
194200
{% include code-snippet/document-editor-container/comments-mention/razor %}
195201
{% endhighlight %}
196202
{% highlight c# tabtitle="comments-mention.cs" %}
197-
{% endhighlight %}{% endtabs %}
203+
{% include code-snippet/document-editor-container/comments-mention/document-editor.cs %}
204+
{% endhighlight %}
205+
{% endtabs %}
198206
{% endif %}
199207

200208
## Events
@@ -210,7 +218,9 @@ To demonstrate a specific use case, let’s consider an example where we want to
210218
{% include code-snippet/document-editor-container/comments-event/tagHelper %}
211219
{% endhighlight %}
212220
{% highlight c# tabtitle="comments-event.cs" %}
213-
{% endhighlight %}{% endtabs %}
221+
{% include code-snippet/document-editor-container/comments-event/document-editor.cs %}
222+
{% endhighlight %}
223+
{% endtabs %}
214224

215225
{% elsif page.publishingplatform == "aspnet-mvc" %}
216226

@@ -219,5 +229,7 @@ To demonstrate a specific use case, let’s consider an example where we want to
219229
{% include code-snippet/document-editor-container/comments-event/razor %}
220230
{% endhighlight %}
221231
{% highlight c# tabtitle="comments-event.cs" %}
222-
{% endhighlight %}{% endtabs %}
223-
{% endif %}
232+
{% include code-snippet/document-editor-container/comments-event/document-editor.cs %}
233+
{% endhighlight %}
234+
{% endtabs %}
235+
{% endif %}

0 commit comments

Comments
 (0)