You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/asp-net-core/comments.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,21 @@ The following example illustrates how to enable mention support in DOCX Editor
157
157
{% endhighlight %}
158
158
{% endtabs %}
159
159
160
+
## Highlight comments by author
161
+
162
+
When `highlightCommentsByAuthor' is enabled, each comment marker and pane border is displayed in the author’s avatar color.
163
+
Selecting a comment highlights the corresponding text in that color. If multiple comments appear on the same line, the marker retains the first author’s avatar color.
164
+
165
+
The following example illustrates how to enable comment highlights in the DOCX Editor
166
+
167
+
{% tabs %}
168
+
{% highlight cshtml tabtitle="CSHTML" %}
169
+
{% include code-snippet/document-editor/asp-net-core/document-editor-container/comment-highlights/tagHelper %}
Copy file name to clipboardExpand all lines: Document-Processing/Word/Word-Processor/asp-net-mvc/comments.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,21 @@ The following example illustrates how to enable mention support in the DOCX Edit
159
159
{% endhighlight %}
160
160
{% endtabs %}
161
161
162
+
## Highlight comments by author
163
+
164
+
When `highlightCommentsByAuthor' is enabled, each comment marker and pane border is displayed in the author’s avatar color.
165
+
Selecting a comment highlights the corresponding text in that color. If multiple comments appear on the same line, the marker retains the first author’s avatar color.
166
+
167
+
The following example illustrates how to enable comment highlights in the DOCX Editor
168
+
169
+
{% tabs %}
170
+
{% highlight razor tabtitle="CSHTML" %}
171
+
{% include code-snippet/document-editor/asp-net-mvc/document-editor-container/comment-highlights/razor %}
When `HighlightCommentsByAuthor' is enabled, each comment marker and pane border is displayed in the author’s avatar color.
53
+
Selecting a comment highlights the corresponding text in that color. If multiple comments appear on the same line, the marker retains the first author’s avatar color.
54
+
55
+
The following example illustrates how to enable comment highlights in the DOCX Editor
TheDOCXEditorsupportsaspecialprotectionmodethatrestrictsuseractionstoaddingoreditingcommentsonly. When `CommentsOnly` protectionisactive, userscannotchangethedocumentcontent.
0 commit comments