diff --git a/ej2-react/document-editor/restrict-editing.md b/ej2-react/document-editor/restrict-editing.md index b5aa84db4..16fafa985 100644 --- a/ej2-react/document-editor/restrict-editing.md +++ b/ej2-react/document-editor/restrict-editing.md @@ -12,7 +12,7 @@ domainurl: ##DomainURL## Document Editor provides support to restrict editing. When the protected document includes range permission, then unique user or user group only authorized to edit separate text area. -# Set current user +## Set current user You can use the `currentUser` property to authorize the current document user by name, email, or user group name. @@ -22,7 +22,7 @@ The following code shows how to set currentUser documentEditor.currentUser = 'engineer@mycompany.com'; ``` -# Highlighting the text area +## Highlighting the text area You can highlight the editable region of the current user using the `userColor` property. @@ -34,13 +34,13 @@ documentEditor.userColor = '#fff000'; You can toggle the highlight the editable region value using the "highlightEditableRanges" property. -The folowing code shows how to toggle the highlight editable region value. +The following code shows how to toggle the highlight editable region value. ```typescript container.documentEditor.documentEditorSettings.highlightEditableRanges = true; ``` -# Restrict Editing Pane +## Restrict Editing Pane Restrict Editing Pane provides the following options to manage the document: * To apply formatting restrictions to the current document, select the allow formatting check box.