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
{% include code-snippet/document-editor-container/track-changes/document-editor.cs %}
38
+
{% endhighlight %}
39
+
{% endtabs %}
36
40
{% endif %}
37
41
42
+
>Track changes are document level settings. When opening a document, if the document does not have track changes enabled, then enableTrackChanges will be disabled even if we set enableTrackChanges = true in the initial rendering. If you want to enable track changes for all the documents, then we recommend enabling track changes during the document change event. The following example demonstrates how to enable Track changes for the all the Document while Opening.
43
+
44
+
{% if page.publishingplatform == "aspnet-core" %}
45
+
46
+
{% tabs %}
47
+
{% highlight cshtml tabtitle="CSHTML" %}
48
+
{% include code-snippet/document-editor-container/track-changes-default/tagHelper %}
{% include code-snippet/document-editor-container/track-changes-default/document-editor.cs %}
63
+
{% endhighlight %}
64
+
{% endtabs %}
65
+
{% endif %}
38
66
## Show/Hide Revisions Pane
39
67
40
68
The Show/Hide Revisions Pane feature in the Document Editor allows users to toggle the visibility of the revisions pane, providing flexibility in managing tracked changes within the document.
@@ -48,7 +76,9 @@ The following example code illustrates how to show/hide the revisions pane.
48
76
{% include code-snippet/document-editor-container/toggle-track-pane/tagHelper %}
0 commit comments